regen i386
This commit is contained in:
parent
c75b32f0a0
commit
d708e326ad
|
@ -11,7 +11,7 @@
|
|||
|
||||
/* Main header file for the bfd library -- portable access to object files.
|
||||
|
||||
Copyright 1990-2013 Free Software Foundation, Inc.
|
||||
Copyright (C) 1990-2015 Free Software Foundation, Inc.
|
||||
|
||||
Contributed by Cygnus Support.
|
||||
|
||||
|
@ -82,7 +82,7 @@ extern "C" {
|
|||
#define LITSTRCPY(DEST,STR2) memcpy ((DEST), (STR2), sizeof (STR2))
|
||||
|
||||
|
||||
#define BFD_SUPPORTS_PLUGINS 0
|
||||
#define BFD_SUPPORTS_PLUGINS 1
|
||||
|
||||
/* The word size used by BFD on the host. This may be 64 with a 32
|
||||
bit target if the host is 64 bit, or if other 64 bit targets have
|
||||
|
@ -669,7 +669,7 @@ extern int bfd_elf_get_dyn_lib_class
|
|||
(bfd *);
|
||||
extern struct bfd_link_needed_list *bfd_elf_get_runpath_list
|
||||
(bfd *, struct bfd_link_info *);
|
||||
extern bfd_boolean bfd_elf_discard_info
|
||||
extern int bfd_elf_discard_info
|
||||
(bfd *, struct bfd_link_info *);
|
||||
extern unsigned int _bfd_elf_default_action_discarded
|
||||
(struct bfd_section *);
|
||||
|
@ -691,19 +691,21 @@ extern int bfd_get_elf_phdrs
|
|||
(bfd *abfd, void *phdrs);
|
||||
|
||||
/* Create a new BFD as if by bfd_openr. Rather than opening a file,
|
||||
reconstruct an ELF file by reading the segments out of remote memory
|
||||
based on the ELF file header at EHDR_VMA and the ELF program headers it
|
||||
points to. If not null, *LOADBASEP is filled in with the difference
|
||||
between the VMAs from which the segments were read, and the VMAs the
|
||||
file headers (and hence BFD's idea of each section's VMA) put them at.
|
||||
reconstruct an ELF file by reading the segments out of remote
|
||||
memory based on the ELF file header at EHDR_VMA and the ELF program
|
||||
headers it points to. If non-zero, SIZE is the known extent of the
|
||||
object. If not null, *LOADBASEP is filled in with the difference
|
||||
between the VMAs from which the segments were read, and the VMAs
|
||||
the file headers (and hence BFD's idea of each section's VMA) put
|
||||
them at.
|
||||
|
||||
The function TARGET_READ_MEMORY is called to copy LEN bytes from the
|
||||
remote memory at target address VMA into the local buffer at MYADDR; it
|
||||
should return zero on success or an `errno' code on failure. TEMPL must
|
||||
be a BFD for an ELF target with the word size and byte order found in
|
||||
the remote memory. */
|
||||
The function TARGET_READ_MEMORY is called to copy LEN bytes from
|
||||
the remote memory at target address VMA into the local buffer at
|
||||
MYADDR; it should return zero on success or an `errno' code on
|
||||
failure. TEMPL must be a BFD for a target with the word size and
|
||||
byte order found in the remote memory. */
|
||||
extern bfd *bfd_elf_bfd_from_remote_memory
|
||||
(bfd *templ, bfd_vma ehdr_vma, bfd_vma *loadbasep,
|
||||
(bfd *templ, bfd_vma ehdr_vma, bfd_size_type size, bfd_vma *loadbasep,
|
||||
int (*target_read_memory) (bfd_vma vma, bfd_byte *myaddr,
|
||||
bfd_size_type len));
|
||||
|
||||
|
@ -815,12 +817,6 @@ struct internal_syment;
|
|||
union internal_auxent;
|
||||
#endif
|
||||
|
||||
extern bfd_boolean bfd_coff_get_syment
|
||||
(bfd *, struct bfd_symbol *, struct internal_syment *);
|
||||
|
||||
extern bfd_boolean bfd_coff_get_auxent
|
||||
(bfd *, struct bfd_symbol *, int, union internal_auxent *);
|
||||
|
||||
extern bfd_boolean bfd_coff_set_symbol_class
|
||||
(bfd *, struct bfd_symbol *, unsigned int);
|
||||
|
||||
|
@ -888,15 +884,19 @@ extern bfd_boolean bfd_elf32_arm_get_bfd_for_interworking
|
|||
extern bfd_boolean bfd_elf32_arm_add_glue_sections_to_bfd
|
||||
(bfd *, struct bfd_link_info *);
|
||||
|
||||
/* ELF ARM mapping symbol support */
|
||||
/* ELF ARM mapping symbol support. */
|
||||
#define BFD_ARM_SPECIAL_SYM_TYPE_MAP (1 << 0)
|
||||
#define BFD_ARM_SPECIAL_SYM_TYPE_TAG (1 << 1)
|
||||
#define BFD_ARM_SPECIAL_SYM_TYPE_OTHER (1 << 2)
|
||||
#define BFD_ARM_SPECIAL_SYM_TYPE_ANY (~0)
|
||||
extern bfd_boolean bfd_is_arm_special_symbol_name
|
||||
(const char * name, int type);
|
||||
|
||||
extern void bfd_elf32_arm_set_byteswap_code (struct bfd_link_info *, int);
|
||||
extern bfd_boolean bfd_is_arm_special_symbol_name
|
||||
(const char *, int);
|
||||
|
||||
extern void bfd_elf32_arm_set_byteswap_code
|
||||
(struct bfd_link_info *, int);
|
||||
|
||||
extern void bfd_elf32_arm_use_long_plt (void);
|
||||
|
||||
/* ARM Note section processing. */
|
||||
extern bfd_boolean bfd_arm_merge_machines
|
||||
|
@ -942,10 +942,10 @@ extern void bfd_elf32_aarch64_init_maps
|
|||
(bfd *);
|
||||
|
||||
extern void bfd_elf64_aarch64_set_options
|
||||
(bfd *, struct bfd_link_info *, int, int, int);
|
||||
(bfd *, struct bfd_link_info *, int, int, int, int);
|
||||
|
||||
extern void bfd_elf32_aarch64_set_options
|
||||
(bfd *, struct bfd_link_info *, int, int, int);
|
||||
(bfd *, struct bfd_link_info *, int, int, int, int);
|
||||
|
||||
/* ELF AArch64 mapping symbol support. */
|
||||
#define BFD_AARCH64_SPECIAL_SYM_TYPE_MAP (1 << 0)
|
||||
|
@ -996,30 +996,11 @@ extern void bfd_elf32_ia64_after_parse
|
|||
|
||||
extern void bfd_elf64_ia64_after_parse
|
||||
(int);
|
||||
|
||||
/* This structure is used for a comdat section, as in PE. A comdat
|
||||
section is associated with a particular symbol. When the linker
|
||||
sees a comdat section, it keeps only one of the sections with a
|
||||
given name and associated with a given symbol. */
|
||||
|
||||
struct coff_comdat_info
|
||||
{
|
||||
/* The name of the symbol associated with a comdat section. */
|
||||
const char *name;
|
||||
|
||||
/* The local symbol table index of the symbol associated with a
|
||||
comdat section. This is only meaningful to the object file format
|
||||
specific code; it is not an index into the list returned by
|
||||
bfd_canonicalize_symtab. */
|
||||
long symbol;
|
||||
};
|
||||
|
||||
extern struct coff_comdat_info * bfd_coff_get_comdat_section
|
||||
(bfd *, struct bfd_section *);
|
||||
/* Extracted from init.c. */
|
||||
void bfd_init (void);
|
||||
|
||||
/* Extracted from opncls.c. */
|
||||
/* Set to N to open the next N BFDs using an alternate id space. */
|
||||
extern unsigned int bfd_use_reserved_id;
|
||||
bfd *bfd_fopen (const char *filename, const char *target,
|
||||
const char *mode, int fd);
|
||||
|
@ -1204,6 +1185,7 @@ void *bfd_mmap (bfd *abfd, void *addr, bfd_size_type len,
|
|||
|
||||
/* Extracted from bfdwin.c. */
|
||||
/* Extracted from section.c. */
|
||||
|
||||
typedef struct bfd_section
|
||||
{
|
||||
/* The name of the section; the name isn't a copy, the pointer is
|
||||
|
@ -1441,6 +1423,7 @@ typedef struct bfd_section
|
|||
#define SEC_INFO_TYPE_MERGE 2
|
||||
#define SEC_INFO_TYPE_EH_FRAME 3
|
||||
#define SEC_INFO_TYPE_JUST_SYMS 4
|
||||
#define SEC_INFO_TYPE_TARGET 5
|
||||
|
||||
/* Nonzero if this section uses RELA relocations, rather than REL. */
|
||||
unsigned int use_rela_p:1;
|
||||
|
@ -1903,7 +1886,9 @@ enum bfd_architecture
|
|||
#define bfd_mach_i960_jx 7
|
||||
#define bfd_mach_i960_hx 8
|
||||
|
||||
bfd_arch_or32, /* OpenRISC 32 */
|
||||
bfd_arch_or1k, /* OpenRISC 1000 */
|
||||
#define bfd_mach_or1k 1
|
||||
#define bfd_mach_or1knd 2
|
||||
|
||||
bfd_arch_sparc, /* SPARC */
|
||||
#define bfd_mach_sparc 1
|
||||
|
@ -1959,11 +1944,18 @@ enum bfd_architecture
|
|||
#define bfd_mach_mips_octeon 6501
|
||||
#define bfd_mach_mips_octeonp 6601
|
||||
#define bfd_mach_mips_octeon2 6502
|
||||
#define bfd_mach_mips_octeon3 6503
|
||||
#define bfd_mach_mips_xlr 887682 /* decimal 'XLR' */
|
||||
#define bfd_mach_mipsisa32 32
|
||||
#define bfd_mach_mipsisa32r2 33
|
||||
#define bfd_mach_mipsisa32r3 34
|
||||
#define bfd_mach_mipsisa32r5 36
|
||||
#define bfd_mach_mipsisa32r6 37
|
||||
#define bfd_mach_mipsisa64 64
|
||||
#define bfd_mach_mipsisa64r2 65
|
||||
#define bfd_mach_mipsisa64r3 66
|
||||
#define bfd_mach_mipsisa64r5 68
|
||||
#define bfd_mach_mipsisa64r6 69
|
||||
#define bfd_mach_mips_micromips 96
|
||||
bfd_arch_i386, /* Intel 386 */
|
||||
#define bfd_mach_i386_intel_syntax (1 << 0)
|
||||
|
@ -2186,6 +2178,7 @@ enum bfd_architecture
|
|||
#define bfd_mach_avr5 5
|
||||
#define bfd_mach_avr51 51
|
||||
#define bfd_mach_avr6 6
|
||||
#define bfd_mach_avrtiny 100
|
||||
#define bfd_mach_avrxmega1 101
|
||||
#define bfd_mach_avrxmega2 102
|
||||
#define bfd_mach_avrxmega3 103
|
||||
|
@ -2215,7 +2208,6 @@ enum bfd_architecture
|
|||
bfd_arch_score, /* Sunplus score */
|
||||
#define bfd_mach_score3 3
|
||||
#define bfd_mach_score7 7
|
||||
bfd_arch_openrisc, /* OpenRISC */
|
||||
bfd_arch_mmix, /* Donald Knuth's educational processor. */
|
||||
bfd_arch_xstormy16,
|
||||
#define bfd_mach_xstormy16 1
|
||||
|
@ -2270,6 +2262,8 @@ enum bfd_architecture
|
|||
#define bfd_mach_aarch64_ilp32 32
|
||||
bfd_arch_nios2,
|
||||
#define bfd_mach_nios2 0
|
||||
bfd_arch_visium, /* Visium */
|
||||
#define bfd_mach_visium 1
|
||||
bfd_arch_last
|
||||
};
|
||||
|
||||
|
@ -2335,6 +2329,7 @@ unsigned int bfd_arch_mach_octets_per_byte
|
|||
(enum bfd_architecture arch, unsigned long machine);
|
||||
|
||||
/* Extracted from reloc.c. */
|
||||
|
||||
typedef enum bfd_reloc_status
|
||||
{
|
||||
/* No errors detected. */
|
||||
|
@ -2384,6 +2379,7 @@ typedef struct reloc_cache_entry
|
|||
}
|
||||
arelent;
|
||||
|
||||
|
||||
enum complain_overflow
|
||||
{
|
||||
/* Do not complain on overflow. */
|
||||
|
@ -2402,6 +2398,7 @@ enum complain_overflow
|
|||
unsigned number. */
|
||||
complain_overflow_unsigned
|
||||
};
|
||||
struct bfd_symbol; /* Forward declaration. */
|
||||
|
||||
struct reloc_howto_struct
|
||||
{
|
||||
|
@ -2929,6 +2926,12 @@ to compensate for the borrow when the low bits are added. */
|
|||
BFD_RELOC_MICROMIPS_10_PCREL_S1,
|
||||
BFD_RELOC_MICROMIPS_16_PCREL_S1,
|
||||
|
||||
/* MIPS PC-relative relocations. */
|
||||
BFD_RELOC_MIPS_21_PCREL_S2,
|
||||
BFD_RELOC_MIPS_26_PCREL_S2,
|
||||
BFD_RELOC_MIPS_18_PCREL_S3,
|
||||
BFD_RELOC_MIPS_19_PCREL_S2,
|
||||
|
||||
/* microMIPS versions of generic BFD relocs. */
|
||||
BFD_RELOC_MICROMIPS_GPREL16,
|
||||
BFD_RELOC_MICROMIPS_HI16,
|
||||
|
@ -3258,6 +3261,7 @@ instruction. */
|
|||
BFD_RELOC_PPC64_PLTGOT16_LO_DS,
|
||||
BFD_RELOC_PPC64_ADDR16_HIGH,
|
||||
BFD_RELOC_PPC64_ADDR16_HIGHA,
|
||||
BFD_RELOC_PPC64_ADDR64_LOCAL,
|
||||
|
||||
/* PowerPC and PowerPC64 thread-local storage relocations. */
|
||||
BFD_RELOC_PPC_TLS,
|
||||
|
@ -3933,6 +3937,13 @@ and shift left by 0 for use in lbi.gp, sbi.gp... */
|
|||
BFD_RELOC_NDS32_15_FIXED,
|
||||
BFD_RELOC_NDS32_17_FIXED,
|
||||
BFD_RELOC_NDS32_25_FIXED,
|
||||
BFD_RELOC_NDS32_LONGCALL4,
|
||||
BFD_RELOC_NDS32_LONGCALL5,
|
||||
BFD_RELOC_NDS32_LONGCALL6,
|
||||
BFD_RELOC_NDS32_LONGJUMP4,
|
||||
BFD_RELOC_NDS32_LONGJUMP5,
|
||||
BFD_RELOC_NDS32_LONGJUMP6,
|
||||
BFD_RELOC_NDS32_LONGJUMP7,
|
||||
|
||||
/* for PIC */
|
||||
BFD_RELOC_NDS32_PLTREL_HI20,
|
||||
|
@ -3993,12 +4004,32 @@ This is a 5 bit absolute address. */
|
|||
BFD_RELOC_NDS32_DIFF16,
|
||||
BFD_RELOC_NDS32_DIFF32,
|
||||
BFD_RELOC_NDS32_DIFF_ULEB128,
|
||||
BFD_RELOC_NDS32_EMPTY,
|
||||
|
||||
/* This is a 25 bit absolute address. */
|
||||
BFD_RELOC_NDS32_25_ABS,
|
||||
|
||||
/* For ex9 and ifc using. */
|
||||
BFD_RELOC_NDS32_DATA,
|
||||
BFD_RELOC_NDS32_TRAN,
|
||||
BFD_RELOC_NDS32_17IFC_PCREL,
|
||||
BFD_RELOC_NDS32_10IFCU_PCREL,
|
||||
|
||||
/* For TLS. */
|
||||
BFD_RELOC_NDS32_TPOFF,
|
||||
BFD_RELOC_NDS32_TLS_LE_HI20,
|
||||
BFD_RELOC_NDS32_TLS_LE_LO12,
|
||||
BFD_RELOC_NDS32_TLS_LE_ADD,
|
||||
BFD_RELOC_NDS32_TLS_LE_LS,
|
||||
BFD_RELOC_NDS32_GOTTPOFF,
|
||||
BFD_RELOC_NDS32_TLS_IE_HI20,
|
||||
BFD_RELOC_NDS32_TLS_IE_LO12S2,
|
||||
BFD_RELOC_NDS32_TLS_TPOFF,
|
||||
BFD_RELOC_NDS32_TLS_LE_20,
|
||||
BFD_RELOC_NDS32_TLS_LE_15S0,
|
||||
BFD_RELOC_NDS32_TLS_LE_15S1,
|
||||
BFD_RELOC_NDS32_TLS_LE_15S2,
|
||||
|
||||
/* This is a 9-bit reloc */
|
||||
BFD_RELOC_V850_9_PCREL,
|
||||
|
||||
|
@ -4456,6 +4487,28 @@ in .byte hi8(symbol) */
|
|||
in .byte hlo8(symbol) */
|
||||
BFD_RELOC_AVR_8_HLO,
|
||||
|
||||
/* AVR relocations to mark the difference of two local symbols.
|
||||
These are only needed to support linker relaxation and can be ignored
|
||||
when not relaxing. The field is set to the value of the difference
|
||||
assuming no relaxation. The relocation encodes the position of the
|
||||
second symbol so the linker can determine whether to adjust the field
|
||||
value. */
|
||||
BFD_RELOC_AVR_DIFF8,
|
||||
BFD_RELOC_AVR_DIFF16,
|
||||
BFD_RELOC_AVR_DIFF32,
|
||||
|
||||
/* This is a 7 bit reloc for the AVR that stores SRAM address for 16bit
|
||||
lds and sts instructions supported only tiny core. */
|
||||
BFD_RELOC_AVR_LDS_STS_16,
|
||||
|
||||
/* This is a 6 bit reloc for the AVR that stores an I/O register
|
||||
number for the IN and OUT instructions */
|
||||
BFD_RELOC_AVR_PORT6,
|
||||
|
||||
/* This is a 5 bit reloc for the AVR that stores an I/O register
|
||||
number for the SBIC, SBIS, SBI and CBI instructions */
|
||||
BFD_RELOC_AVR_PORT5,
|
||||
|
||||
/* Renesas RL78 Relocations. */
|
||||
BFD_RELOC_RL78_NEG8,
|
||||
BFD_RELOC_RL78_NEG16,
|
||||
|
@ -5119,9 +5172,31 @@ a matching LO8XG part. */
|
|||
BFD_RELOC_860_HIGOT,
|
||||
BFD_RELOC_860_HIGOTOFF,
|
||||
|
||||
/* OpenRISC Relocations. */
|
||||
BFD_RELOC_OPENRISC_ABS_26,
|
||||
BFD_RELOC_OPENRISC_REL_26,
|
||||
/* OpenRISC 1000 Relocations. */
|
||||
BFD_RELOC_OR1K_REL_26,
|
||||
BFD_RELOC_OR1K_GOTPC_HI16,
|
||||
BFD_RELOC_OR1K_GOTPC_LO16,
|
||||
BFD_RELOC_OR1K_GOT16,
|
||||
BFD_RELOC_OR1K_PLT26,
|
||||
BFD_RELOC_OR1K_GOTOFF_HI16,
|
||||
BFD_RELOC_OR1K_GOTOFF_LO16,
|
||||
BFD_RELOC_OR1K_COPY,
|
||||
BFD_RELOC_OR1K_GLOB_DAT,
|
||||
BFD_RELOC_OR1K_JMP_SLOT,
|
||||
BFD_RELOC_OR1K_RELATIVE,
|
||||
BFD_RELOC_OR1K_TLS_GD_HI16,
|
||||
BFD_RELOC_OR1K_TLS_GD_LO16,
|
||||
BFD_RELOC_OR1K_TLS_LDM_HI16,
|
||||
BFD_RELOC_OR1K_TLS_LDM_LO16,
|
||||
BFD_RELOC_OR1K_TLS_LDO_HI16,
|
||||
BFD_RELOC_OR1K_TLS_LDO_LO16,
|
||||
BFD_RELOC_OR1K_TLS_IE_HI16,
|
||||
BFD_RELOC_OR1K_TLS_IE_LO16,
|
||||
BFD_RELOC_OR1K_TLS_LE_HI16,
|
||||
BFD_RELOC_OR1K_TLS_LE_LO16,
|
||||
BFD_RELOC_OR1K_TLS_TPOFF,
|
||||
BFD_RELOC_OR1K_TLS_DTPOFF,
|
||||
BFD_RELOC_OR1K_TLS_DTPMOD,
|
||||
|
||||
/* H8 elf Relocations. */
|
||||
BFD_RELOC_H8_DIR16A8,
|
||||
|
@ -5229,6 +5304,11 @@ a matching LO8XG part. */
|
|||
BFD_RELOC_NIOS2_JUMP_SLOT,
|
||||
BFD_RELOC_NIOS2_RELATIVE,
|
||||
BFD_RELOC_NIOS2_GOTOFF,
|
||||
BFD_RELOC_NIOS2_CALL26_NOAT,
|
||||
BFD_RELOC_NIOS2_GOT_LO,
|
||||
BFD_RELOC_NIOS2_GOT_HA,
|
||||
BFD_RELOC_NIOS2_CALL_LO,
|
||||
BFD_RELOC_NIOS2_CALL_HA,
|
||||
|
||||
/* IQ2000 Relocations. */
|
||||
BFD_RELOC_IQ2000_OFFSET_16,
|
||||
|
@ -5967,7 +6047,17 @@ assembler and not (currently) written to any object files. */
|
|||
|
||||
/* Adapteva EPIPHANY - 8 bit immediate for 16 bit mov instruction. */
|
||||
BFD_RELOC_EPIPHANY_IMM8,
|
||||
|
||||
/* Visium Relocations. */
|
||||
BFD_RELOC_VISIUM_HI16,
|
||||
BFD_RELOC_VISIUM_LO16,
|
||||
BFD_RELOC_VISIUM_IM16,
|
||||
BFD_RELOC_VISIUM_REL16,
|
||||
BFD_RELOC_VISIUM_HI16_PCREL,
|
||||
BFD_RELOC_VISIUM_LO16_PCREL,
|
||||
BFD_RELOC_VISIUM_IM16_PCREL,
|
||||
BFD_RELOC_UNUSED };
|
||||
|
||||
typedef enum bfd_reloc_code_real bfd_reloc_code_real_type;
|
||||
reloc_howto_type *bfd_reloc_type_lookup
|
||||
(bfd *abfd, bfd_reloc_code_real_type code);
|
||||
|
@ -6165,6 +6255,7 @@ bfd_boolean bfd_copy_private_symbol_data
|
|||
(ibfd, isymbol, obfd, osymbol))
|
||||
|
||||
/* Extracted from bfd.c. */
|
||||
|
||||
enum bfd_direction
|
||||
{
|
||||
no_direction = 0,
|
||||
|
@ -6175,9 +6266,6 @@ enum bfd_direction
|
|||
|
||||
struct bfd
|
||||
{
|
||||
/* A unique identifier of the BFD */
|
||||
unsigned int id;
|
||||
|
||||
/* The filename the application opened the BFD with. */
|
||||
const char *filename;
|
||||
|
||||
|
@ -6200,17 +6288,17 @@ struct bfd
|
|||
/* File modified time, if mtime_set is TRUE. */
|
||||
long mtime;
|
||||
|
||||
/* Reserved for an unimplemented file locking extension. */
|
||||
int ifd;
|
||||
/* A unique identifier of the BFD */
|
||||
unsigned int id;
|
||||
|
||||
/* The format which belongs to the BFD. (object, core, etc.) */
|
||||
bfd_format format;
|
||||
ENUM_BITFIELD (bfd_format) format : 3;
|
||||
|
||||
/* The direction with which the BFD was opened. */
|
||||
enum bfd_direction direction;
|
||||
ENUM_BITFIELD (bfd_direction) direction : 2;
|
||||
|
||||
/* Format_specific flags. */
|
||||
flagword flags;
|
||||
flagword flags : 17;
|
||||
|
||||
/* Values that may appear in the flags field of a BFD. These also
|
||||
appear in the object_flags field of the bfd_target structure, where
|
||||
|
@ -6269,26 +6357,23 @@ struct bfd
|
|||
struct. */
|
||||
#define BFD_IN_MEMORY 0x800
|
||||
|
||||
/* The sections in this BFD specify a memory page. */
|
||||
#define HAS_LOAD_PAGE 0x1000
|
||||
|
||||
/* This BFD has been created by the linker and doesn't correspond
|
||||
to any input file. */
|
||||
#define BFD_LINKER_CREATED 0x2000
|
||||
#define BFD_LINKER_CREATED 0x1000
|
||||
|
||||
/* This may be set before writing out a BFD to request that it
|
||||
be written using values for UIDs, GIDs, timestamps, etc. that
|
||||
will be consistent from run to run. */
|
||||
#define BFD_DETERMINISTIC_OUTPUT 0x4000
|
||||
#define BFD_DETERMINISTIC_OUTPUT 0x2000
|
||||
|
||||
/* Compress sections in this BFD. */
|
||||
#define BFD_COMPRESS 0x8000
|
||||
#define BFD_COMPRESS 0x4000
|
||||
|
||||
/* Decompress sections in this BFD. */
|
||||
#define BFD_DECOMPRESS 0x10000
|
||||
#define BFD_DECOMPRESS 0x8000
|
||||
|
||||
/* BFD is a dummy, for plugins. */
|
||||
#define BFD_PLUGIN 0x20000
|
||||
#define BFD_PLUGIN 0x10000
|
||||
|
||||
/* Flags bits to be saved in bfd_preserve_save. */
|
||||
#define BFD_FLAGS_SAVED \
|
||||
|
@ -6299,6 +6384,42 @@ struct bfd
|
|||
(BFD_IN_MEMORY | BFD_COMPRESS | BFD_DECOMPRESS | BFD_LINKER_CREATED \
|
||||
| BFD_PLUGIN | BFD_TRADITIONAL_FORMAT | BFD_DETERMINISTIC_OUTPUT)
|
||||
|
||||
/* Is the file descriptor being cached? That is, can it be closed as
|
||||
needed, and re-opened when accessed later? */
|
||||
unsigned int cacheable : 1;
|
||||
|
||||
/* Marks whether there was a default target specified when the
|
||||
BFD was opened. This is used to select which matching algorithm
|
||||
to use to choose the back end. */
|
||||
unsigned int target_defaulted : 1;
|
||||
|
||||
/* ... and here: (``once'' means at least once). */
|
||||
unsigned int opened_once : 1;
|
||||
|
||||
/* Set if we have a locally maintained mtime value, rather than
|
||||
getting it from the file each time. */
|
||||
unsigned int mtime_set : 1;
|
||||
|
||||
/* Flag set if symbols from this BFD should not be exported. */
|
||||
unsigned int no_export : 1;
|
||||
|
||||
/* Remember when output has begun, to stop strange things
|
||||
from happening. */
|
||||
unsigned int output_has_begun : 1;
|
||||
|
||||
/* Have archive map. */
|
||||
unsigned int has_armap : 1;
|
||||
|
||||
/* Set if this is a thin archive. */
|
||||
unsigned int is_thin_archive : 1;
|
||||
|
||||
/* Set if only required symbols should be added in the link hash table for
|
||||
this object. Used by VMS linkers. */
|
||||
unsigned int selective_search : 1;
|
||||
|
||||
/* Set if this is the linker output BFD. */
|
||||
unsigned int is_linker_output : 1;
|
||||
|
||||
/* Currently my_archive is tested before adding origin to
|
||||
anything. I believe that this can become always an add of
|
||||
origin, with origin set to 0 for non archive files. */
|
||||
|
@ -6323,17 +6444,21 @@ struct bfd
|
|||
/* The number of sections. */
|
||||
unsigned int section_count;
|
||||
|
||||
/* A field used by _bfd_generic_link_add_archive_symbols. This will
|
||||
be used only for archive elements. */
|
||||
int archive_pass;
|
||||
|
||||
/* Stuff only useful for object files:
|
||||
The start address. */
|
||||
bfd_vma start_address;
|
||||
|
||||
/* Used for input and output. */
|
||||
unsigned int symcount;
|
||||
|
||||
/* Symbol table for output BFD (with symcount entries).
|
||||
Also used by the linker to cache input BFD symbols. */
|
||||
struct bfd_symbol **outsymbols;
|
||||
|
||||
/* Used for input and output. */
|
||||
unsigned int symcount;
|
||||
|
||||
/* Used for slurped dynamic symbol tables. */
|
||||
unsigned int dynsymcount;
|
||||
|
||||
|
@ -6348,12 +6473,12 @@ struct bfd
|
|||
struct bfd *nested_archives; /* List of nested archive in a flattened
|
||||
thin archive. */
|
||||
|
||||
/* A chain of BFD structures involved in a link. */
|
||||
struct bfd *link_next;
|
||||
|
||||
/* A field used by _bfd_generic_link_add_archive_symbols. This will
|
||||
be used only for archive elements. */
|
||||
int archive_pass;
|
||||
union {
|
||||
/* For input BFDs, a chain of BFDs involved in a link. */
|
||||
struct bfd *next;
|
||||
/* For output BFD, the linker hash table. */
|
||||
struct bfd_link_hash_table *hash;
|
||||
} link;
|
||||
|
||||
/* Used by the back end to hold private data. */
|
||||
union
|
||||
|
@ -6405,39 +6530,6 @@ struct bfd
|
|||
struct objalloc *, but we use void * to avoid requiring the inclusion
|
||||
of objalloc.h. */
|
||||
void *memory;
|
||||
|
||||
/* Is the file descriptor being cached? That is, can it be closed as
|
||||
needed, and re-opened when accessed later? */
|
||||
unsigned int cacheable : 1;
|
||||
|
||||
/* Marks whether there was a default target specified when the
|
||||
BFD was opened. This is used to select which matching algorithm
|
||||
to use to choose the back end. */
|
||||
unsigned int target_defaulted : 1;
|
||||
|
||||
/* ... and here: (``once'' means at least once). */
|
||||
unsigned int opened_once : 1;
|
||||
|
||||
/* Set if we have a locally maintained mtime value, rather than
|
||||
getting it from the file each time. */
|
||||
unsigned int mtime_set : 1;
|
||||
|
||||
/* Flag set if symbols from this BFD should not be exported. */
|
||||
unsigned int no_export : 1;
|
||||
|
||||
/* Remember when output has begun, to stop strange things
|
||||
from happening. */
|
||||
unsigned int output_has_begun : 1;
|
||||
|
||||
/* Have archive map. */
|
||||
unsigned int has_armap : 1;
|
||||
|
||||
/* Set if this is a thin archive. */
|
||||
unsigned int is_thin_archive : 1;
|
||||
|
||||
/* Set if only required symbols should be added in the link hash table for
|
||||
this object. Used by VMS linkers. */
|
||||
unsigned int selective_search : 1;
|
||||
};
|
||||
|
||||
/* See note beside bfd_set_section_userdata. */
|
||||
|
@ -6448,6 +6540,7 @@ bfd_set_cacheable (bfd * abfd, bfd_boolean val)
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
typedef enum bfd_error
|
||||
{
|
||||
bfd_error_no_error = 0,
|
||||
|
@ -6483,6 +6576,7 @@ const char *bfd_errmsg (bfd_error_type error_tag);
|
|||
|
||||
void bfd_perror (const char *message);
|
||||
|
||||
|
||||
typedef void (*bfd_error_handler_type) (const char *, ...);
|
||||
|
||||
bfd_error_handler_type bfd_set_error_handler (bfd_error_handler_type);
|
||||
|
@ -6491,6 +6585,7 @@ void bfd_set_error_program_name (const char *);
|
|||
|
||||
bfd_error_handler_type bfd_get_error_handler (void);
|
||||
|
||||
|
||||
typedef void (*bfd_assert_handler_type) (const char *bfd_formatmsg,
|
||||
const char *bfd_version,
|
||||
const char *bfd_file,
|
||||
|
@ -6546,12 +6641,12 @@ bfd_boolean bfd_set_private_flags (bfd *abfd, flagword flags);
|
|||
|
||||
#define bfd_find_nearest_line(abfd, sec, syms, off, file, func, line) \
|
||||
BFD_SEND (abfd, _bfd_find_nearest_line, \
|
||||
(abfd, sec, syms, off, file, func, line))
|
||||
(abfd, syms, sec, off, file, func, line, NULL))
|
||||
|
||||
#define bfd_find_nearest_line_discriminator(abfd, sec, syms, off, file, func, \
|
||||
line, disc) \
|
||||
BFD_SEND (abfd, _bfd_find_nearest_line_discriminator, \
|
||||
(abfd, sec, syms, off, file, func, line, disc))
|
||||
BFD_SEND (abfd, _bfd_find_nearest_line, \
|
||||
(abfd, syms, sec, off, file, func, line, disc))
|
||||
|
||||
#define bfd_find_line(abfd, syms, sym, file, line) \
|
||||
BFD_SEND (abfd, _bfd_find_line, \
|
||||
|
@ -6600,9 +6695,6 @@ bfd_boolean bfd_set_private_flags (bfd *abfd, flagword flags);
|
|||
#define bfd_link_hash_table_create(abfd) \
|
||||
BFD_SEND (abfd, _bfd_link_hash_table_create, (abfd))
|
||||
|
||||
#define bfd_link_hash_table_free(abfd, hash) \
|
||||
BFD_SEND (abfd, _bfd_link_hash_table_free, (hash))
|
||||
|
||||
#define bfd_link_add_symbols(abfd, info) \
|
||||
BFD_SEND (abfd, _bfd_link_add_symbols, (abfd, info))
|
||||
|
||||
|
@ -6912,12 +7004,12 @@ typedef struct bfd_target
|
|||
NAME##_make_empty_symbol, \
|
||||
NAME##_print_symbol, \
|
||||
NAME##_get_symbol_info, \
|
||||
NAME##_get_symbol_version_string, \
|
||||
NAME##_bfd_is_local_label_name, \
|
||||
NAME##_bfd_is_target_special_symbol, \
|
||||
NAME##_get_lineno, \
|
||||
NAME##_find_nearest_line, \
|
||||
_bfd_generic_find_nearest_line_discriminator, \
|
||||
_bfd_generic_find_line, \
|
||||
NAME##_find_line, \
|
||||
NAME##_find_inliner_info, \
|
||||
NAME##_bfd_make_debug_symbol, \
|
||||
NAME##_read_minisymbols, \
|
||||
|
@ -6934,14 +7026,14 @@ typedef struct bfd_target
|
|||
void (*_bfd_get_symbol_info)
|
||||
(bfd *, struct bfd_symbol *, symbol_info *);
|
||||
#define bfd_get_symbol_info(b,p,e) BFD_SEND (b, _bfd_get_symbol_info, (b,p,e))
|
||||
const char *(*_bfd_get_symbol_version_string)
|
||||
(bfd *, struct bfd_symbol *, bfd_boolean *);
|
||||
#define bfd_get_symbol_version_string(b,s,h) BFD_SEND (b, _bfd_get_symbol_version_string, (b,s,h))
|
||||
bfd_boolean (*_bfd_is_local_label_name) (bfd *, const char *);
|
||||
bfd_boolean (*_bfd_is_target_special_symbol) (bfd *, asymbol *);
|
||||
alent * (*_get_lineno) (bfd *, struct bfd_symbol *);
|
||||
bfd_boolean (*_bfd_find_nearest_line)
|
||||
(bfd *, struct bfd_section *, struct bfd_symbol **, bfd_vma,
|
||||
const char **, const char **, unsigned int *);
|
||||
bfd_boolean (*_bfd_find_nearest_line_discriminator)
|
||||
(bfd *, struct bfd_section *, struct bfd_symbol **, bfd_vma,
|
||||
(bfd *, struct bfd_symbol **, struct bfd_section *, bfd_vma,
|
||||
const char **, const char **, unsigned int *, unsigned int *);
|
||||
bfd_boolean (*_bfd_find_line)
|
||||
(bfd *, struct bfd_symbol **, struct bfd_symbol *,
|
||||
|
@ -6995,7 +7087,6 @@ typedef struct bfd_target
|
|||
NAME##_bfd_get_relocated_section_contents, \
|
||||
NAME##_bfd_relax_section, \
|
||||
NAME##_bfd_link_hash_table_create, \
|
||||
NAME##_bfd_link_hash_table_free, \
|
||||
NAME##_bfd_link_add_symbols, \
|
||||
NAME##_bfd_link_just_syms, \
|
||||
NAME##_bfd_copy_link_hash_symbol_type, \
|
||||
|
@ -7022,16 +7113,14 @@ typedef struct bfd_target
|
|||
struct bfd_link_hash_table *
|
||||
(*_bfd_link_hash_table_create) (bfd *);
|
||||
|
||||
/* Release the memory associated with the linker hash table. */
|
||||
void (*_bfd_link_hash_table_free) (struct bfd_link_hash_table *);
|
||||
|
||||
/* Add symbols from this object file into the hash table. */
|
||||
bfd_boolean (*_bfd_link_add_symbols) (bfd *, struct bfd_link_info *);
|
||||
|
||||
/* Indicate that we are only retrieving symbol values from this section. */
|
||||
void (*_bfd_link_just_syms) (asection *, struct bfd_link_info *);
|
||||
|
||||
/* Copy the symbol type of a linker hash table entry. */
|
||||
/* Copy the symbol type and other attributes for a linker script
|
||||
assignment of one symbol to another. */
|
||||
#define bfd_copy_link_hash_symbol_type(b, t, f) \
|
||||
BFD_SEND (b, _bfd_copy_link_hash_symbol_type, (b, t, f))
|
||||
void (*_bfd_copy_link_hash_symbol_type)
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
/* Main header file for the bfd library -- portable access to object files.
|
||||
|
||||
Copyright 1990-2013 Free Software Foundation, Inc.
|
||||
Copyright (C) 1990-2015 Free Software Foundation, Inc.
|
||||
|
||||
Contributed by Cygnus Support.
|
||||
|
||||
|
@ -82,7 +82,7 @@ extern "C" {
|
|||
#define LITSTRCPY(DEST,STR2) memcpy ((DEST), (STR2), sizeof (STR2))
|
||||
|
||||
|
||||
#define BFD_SUPPORTS_PLUGINS 0
|
||||
#define BFD_SUPPORTS_PLUGINS 1
|
||||
|
||||
/* The word size used by BFD on the host. This may be 64 with a 32
|
||||
bit target if the host is 64 bit, or if other 64 bit targets have
|
||||
|
@ -669,7 +669,7 @@ extern int bfd_elf_get_dyn_lib_class
|
|||
(bfd *);
|
||||
extern struct bfd_link_needed_list *bfd_elf_get_runpath_list
|
||||
(bfd *, struct bfd_link_info *);
|
||||
extern bfd_boolean bfd_elf_discard_info
|
||||
extern int bfd_elf_discard_info
|
||||
(bfd *, struct bfd_link_info *);
|
||||
extern unsigned int _bfd_elf_default_action_discarded
|
||||
(struct bfd_section *);
|
||||
|
@ -691,19 +691,21 @@ extern int bfd_get_elf_phdrs
|
|||
(bfd *abfd, void *phdrs);
|
||||
|
||||
/* Create a new BFD as if by bfd_openr. Rather than opening a file,
|
||||
reconstruct an ELF file by reading the segments out of remote memory
|
||||
based on the ELF file header at EHDR_VMA and the ELF program headers it
|
||||
points to. If not null, *LOADBASEP is filled in with the difference
|
||||
between the VMAs from which the segments were read, and the VMAs the
|
||||
file headers (and hence BFD's idea of each section's VMA) put them at.
|
||||
reconstruct an ELF file by reading the segments out of remote
|
||||
memory based on the ELF file header at EHDR_VMA and the ELF program
|
||||
headers it points to. If non-zero, SIZE is the known extent of the
|
||||
object. If not null, *LOADBASEP is filled in with the difference
|
||||
between the VMAs from which the segments were read, and the VMAs
|
||||
the file headers (and hence BFD's idea of each section's VMA) put
|
||||
them at.
|
||||
|
||||
The function TARGET_READ_MEMORY is called to copy LEN bytes from the
|
||||
remote memory at target address VMA into the local buffer at MYADDR; it
|
||||
should return zero on success or an `errno' code on failure. TEMPL must
|
||||
be a BFD for an ELF target with the word size and byte order found in
|
||||
the remote memory. */
|
||||
The function TARGET_READ_MEMORY is called to copy LEN bytes from
|
||||
the remote memory at target address VMA into the local buffer at
|
||||
MYADDR; it should return zero on success or an `errno' code on
|
||||
failure. TEMPL must be a BFD for a target with the word size and
|
||||
byte order found in the remote memory. */
|
||||
extern bfd *bfd_elf_bfd_from_remote_memory
|
||||
(bfd *templ, bfd_vma ehdr_vma, bfd_vma *loadbasep,
|
||||
(bfd *templ, bfd_vma ehdr_vma, bfd_size_type size, bfd_vma *loadbasep,
|
||||
int (*target_read_memory) (bfd_vma vma, bfd_byte *myaddr,
|
||||
bfd_size_type len));
|
||||
|
||||
|
@ -815,12 +817,6 @@ struct internal_syment;
|
|||
union internal_auxent;
|
||||
#endif
|
||||
|
||||
extern bfd_boolean bfd_coff_get_syment
|
||||
(bfd *, struct bfd_symbol *, struct internal_syment *);
|
||||
|
||||
extern bfd_boolean bfd_coff_get_auxent
|
||||
(bfd *, struct bfd_symbol *, int, union internal_auxent *);
|
||||
|
||||
extern bfd_boolean bfd_coff_set_symbol_class
|
||||
(bfd *, struct bfd_symbol *, unsigned int);
|
||||
|
||||
|
@ -888,15 +884,19 @@ extern bfd_boolean bfd_elf32_arm_get_bfd_for_interworking
|
|||
extern bfd_boolean bfd_elf32_arm_add_glue_sections_to_bfd
|
||||
(bfd *, struct bfd_link_info *);
|
||||
|
||||
/* ELF ARM mapping symbol support */
|
||||
/* ELF ARM mapping symbol support. */
|
||||
#define BFD_ARM_SPECIAL_SYM_TYPE_MAP (1 << 0)
|
||||
#define BFD_ARM_SPECIAL_SYM_TYPE_TAG (1 << 1)
|
||||
#define BFD_ARM_SPECIAL_SYM_TYPE_OTHER (1 << 2)
|
||||
#define BFD_ARM_SPECIAL_SYM_TYPE_ANY (~0)
|
||||
extern bfd_boolean bfd_is_arm_special_symbol_name
|
||||
(const char * name, int type);
|
||||
|
||||
extern void bfd_elf32_arm_set_byteswap_code (struct bfd_link_info *, int);
|
||||
extern bfd_boolean bfd_is_arm_special_symbol_name
|
||||
(const char *, int);
|
||||
|
||||
extern void bfd_elf32_arm_set_byteswap_code
|
||||
(struct bfd_link_info *, int);
|
||||
|
||||
extern void bfd_elf32_arm_use_long_plt (void);
|
||||
|
||||
/* ARM Note section processing. */
|
||||
extern bfd_boolean bfd_arm_merge_machines
|
||||
|
@ -942,10 +942,10 @@ extern void bfd_elf32_aarch64_init_maps
|
|||
(bfd *);
|
||||
|
||||
extern void bfd_elf64_aarch64_set_options
|
||||
(bfd *, struct bfd_link_info *, int, int, int);
|
||||
(bfd *, struct bfd_link_info *, int, int, int, int);
|
||||
|
||||
extern void bfd_elf32_aarch64_set_options
|
||||
(bfd *, struct bfd_link_info *, int, int, int);
|
||||
(bfd *, struct bfd_link_info *, int, int, int, int);
|
||||
|
||||
/* ELF AArch64 mapping symbol support. */
|
||||
#define BFD_AARCH64_SPECIAL_SYM_TYPE_MAP (1 << 0)
|
||||
|
@ -996,30 +996,11 @@ extern void bfd_elf32_ia64_after_parse
|
|||
|
||||
extern void bfd_elf64_ia64_after_parse
|
||||
(int);
|
||||
|
||||
/* This structure is used for a comdat section, as in PE. A comdat
|
||||
section is associated with a particular symbol. When the linker
|
||||
sees a comdat section, it keeps only one of the sections with a
|
||||
given name and associated with a given symbol. */
|
||||
|
||||
struct coff_comdat_info
|
||||
{
|
||||
/* The name of the symbol associated with a comdat section. */
|
||||
const char *name;
|
||||
|
||||
/* The local symbol table index of the symbol associated with a
|
||||
comdat section. This is only meaningful to the object file format
|
||||
specific code; it is not an index into the list returned by
|
||||
bfd_canonicalize_symtab. */
|
||||
long symbol;
|
||||
};
|
||||
|
||||
extern struct coff_comdat_info * bfd_coff_get_comdat_section
|
||||
(bfd *, struct bfd_section *);
|
||||
/* Extracted from init.c. */
|
||||
void bfd_init (void);
|
||||
|
||||
/* Extracted from opncls.c. */
|
||||
/* Set to N to open the next N BFDs using an alternate id space. */
|
||||
extern unsigned int bfd_use_reserved_id;
|
||||
bfd *bfd_fopen (const char *filename, const char *target,
|
||||
const char *mode, int fd);
|
||||
|
@ -1204,6 +1185,7 @@ void *bfd_mmap (bfd *abfd, void *addr, bfd_size_type len,
|
|||
|
||||
/* Extracted from bfdwin.c. */
|
||||
/* Extracted from section.c. */
|
||||
|
||||
typedef struct bfd_section
|
||||
{
|
||||
/* The name of the section; the name isn't a copy, the pointer is
|
||||
|
@ -1441,6 +1423,7 @@ typedef struct bfd_section
|
|||
#define SEC_INFO_TYPE_MERGE 2
|
||||
#define SEC_INFO_TYPE_EH_FRAME 3
|
||||
#define SEC_INFO_TYPE_JUST_SYMS 4
|
||||
#define SEC_INFO_TYPE_TARGET 5
|
||||
|
||||
/* Nonzero if this section uses RELA relocations, rather than REL. */
|
||||
unsigned int use_rela_p:1;
|
||||
|
@ -1903,7 +1886,9 @@ enum bfd_architecture
|
|||
#define bfd_mach_i960_jx 7
|
||||
#define bfd_mach_i960_hx 8
|
||||
|
||||
bfd_arch_or32, /* OpenRISC 32 */
|
||||
bfd_arch_or1k, /* OpenRISC 1000 */
|
||||
#define bfd_mach_or1k 1
|
||||
#define bfd_mach_or1knd 2
|
||||
|
||||
bfd_arch_sparc, /* SPARC */
|
||||
#define bfd_mach_sparc 1
|
||||
|
@ -1959,11 +1944,18 @@ enum bfd_architecture
|
|||
#define bfd_mach_mips_octeon 6501
|
||||
#define bfd_mach_mips_octeonp 6601
|
||||
#define bfd_mach_mips_octeon2 6502
|
||||
#define bfd_mach_mips_octeon3 6503
|
||||
#define bfd_mach_mips_xlr 887682 /* decimal 'XLR' */
|
||||
#define bfd_mach_mipsisa32 32
|
||||
#define bfd_mach_mipsisa32r2 33
|
||||
#define bfd_mach_mipsisa32r3 34
|
||||
#define bfd_mach_mipsisa32r5 36
|
||||
#define bfd_mach_mipsisa32r6 37
|
||||
#define bfd_mach_mipsisa64 64
|
||||
#define bfd_mach_mipsisa64r2 65
|
||||
#define bfd_mach_mipsisa64r3 66
|
||||
#define bfd_mach_mipsisa64r5 68
|
||||
#define bfd_mach_mipsisa64r6 69
|
||||
#define bfd_mach_mips_micromips 96
|
||||
bfd_arch_i386, /* Intel 386 */
|
||||
#define bfd_mach_i386_intel_syntax (1 << 0)
|
||||
|
@ -2186,6 +2178,7 @@ enum bfd_architecture
|
|||
#define bfd_mach_avr5 5
|
||||
#define bfd_mach_avr51 51
|
||||
#define bfd_mach_avr6 6
|
||||
#define bfd_mach_avrtiny 100
|
||||
#define bfd_mach_avrxmega1 101
|
||||
#define bfd_mach_avrxmega2 102
|
||||
#define bfd_mach_avrxmega3 103
|
||||
|
@ -2215,7 +2208,6 @@ enum bfd_architecture
|
|||
bfd_arch_score, /* Sunplus score */
|
||||
#define bfd_mach_score3 3
|
||||
#define bfd_mach_score7 7
|
||||
bfd_arch_openrisc, /* OpenRISC */
|
||||
bfd_arch_mmix, /* Donald Knuth's educational processor. */
|
||||
bfd_arch_xstormy16,
|
||||
#define bfd_mach_xstormy16 1
|
||||
|
@ -2270,6 +2262,8 @@ enum bfd_architecture
|
|||
#define bfd_mach_aarch64_ilp32 32
|
||||
bfd_arch_nios2,
|
||||
#define bfd_mach_nios2 0
|
||||
bfd_arch_visium, /* Visium */
|
||||
#define bfd_mach_visium 1
|
||||
bfd_arch_last
|
||||
};
|
||||
|
||||
|
@ -2335,6 +2329,7 @@ unsigned int bfd_arch_mach_octets_per_byte
|
|||
(enum bfd_architecture arch, unsigned long machine);
|
||||
|
||||
/* Extracted from reloc.c. */
|
||||
|
||||
typedef enum bfd_reloc_status
|
||||
{
|
||||
/* No errors detected. */
|
||||
|
@ -2384,6 +2379,7 @@ typedef struct reloc_cache_entry
|
|||
}
|
||||
arelent;
|
||||
|
||||
|
||||
enum complain_overflow
|
||||
{
|
||||
/* Do not complain on overflow. */
|
||||
|
@ -2402,6 +2398,7 @@ enum complain_overflow
|
|||
unsigned number. */
|
||||
complain_overflow_unsigned
|
||||
};
|
||||
struct bfd_symbol; /* Forward declaration. */
|
||||
|
||||
struct reloc_howto_struct
|
||||
{
|
||||
|
@ -2929,6 +2926,12 @@ to compensate for the borrow when the low bits are added. */
|
|||
BFD_RELOC_MICROMIPS_10_PCREL_S1,
|
||||
BFD_RELOC_MICROMIPS_16_PCREL_S1,
|
||||
|
||||
/* MIPS PC-relative relocations. */
|
||||
BFD_RELOC_MIPS_21_PCREL_S2,
|
||||
BFD_RELOC_MIPS_26_PCREL_S2,
|
||||
BFD_RELOC_MIPS_18_PCREL_S3,
|
||||
BFD_RELOC_MIPS_19_PCREL_S2,
|
||||
|
||||
/* microMIPS versions of generic BFD relocs. */
|
||||
BFD_RELOC_MICROMIPS_GPREL16,
|
||||
BFD_RELOC_MICROMIPS_HI16,
|
||||
|
@ -3258,6 +3261,7 @@ instruction. */
|
|||
BFD_RELOC_PPC64_PLTGOT16_LO_DS,
|
||||
BFD_RELOC_PPC64_ADDR16_HIGH,
|
||||
BFD_RELOC_PPC64_ADDR16_HIGHA,
|
||||
BFD_RELOC_PPC64_ADDR64_LOCAL,
|
||||
|
||||
/* PowerPC and PowerPC64 thread-local storage relocations. */
|
||||
BFD_RELOC_PPC_TLS,
|
||||
|
@ -3933,6 +3937,13 @@ and shift left by 0 for use in lbi.gp, sbi.gp... */
|
|||
BFD_RELOC_NDS32_15_FIXED,
|
||||
BFD_RELOC_NDS32_17_FIXED,
|
||||
BFD_RELOC_NDS32_25_FIXED,
|
||||
BFD_RELOC_NDS32_LONGCALL4,
|
||||
BFD_RELOC_NDS32_LONGCALL5,
|
||||
BFD_RELOC_NDS32_LONGCALL6,
|
||||
BFD_RELOC_NDS32_LONGJUMP4,
|
||||
BFD_RELOC_NDS32_LONGJUMP5,
|
||||
BFD_RELOC_NDS32_LONGJUMP6,
|
||||
BFD_RELOC_NDS32_LONGJUMP7,
|
||||
|
||||
/* for PIC */
|
||||
BFD_RELOC_NDS32_PLTREL_HI20,
|
||||
|
@ -3993,12 +4004,32 @@ This is a 5 bit absolute address. */
|
|||
BFD_RELOC_NDS32_DIFF16,
|
||||
BFD_RELOC_NDS32_DIFF32,
|
||||
BFD_RELOC_NDS32_DIFF_ULEB128,
|
||||
BFD_RELOC_NDS32_EMPTY,
|
||||
|
||||
/* This is a 25 bit absolute address. */
|
||||
BFD_RELOC_NDS32_25_ABS,
|
||||
|
||||
/* For ex9 and ifc using. */
|
||||
BFD_RELOC_NDS32_DATA,
|
||||
BFD_RELOC_NDS32_TRAN,
|
||||
BFD_RELOC_NDS32_17IFC_PCREL,
|
||||
BFD_RELOC_NDS32_10IFCU_PCREL,
|
||||
|
||||
/* For TLS. */
|
||||
BFD_RELOC_NDS32_TPOFF,
|
||||
BFD_RELOC_NDS32_TLS_LE_HI20,
|
||||
BFD_RELOC_NDS32_TLS_LE_LO12,
|
||||
BFD_RELOC_NDS32_TLS_LE_ADD,
|
||||
BFD_RELOC_NDS32_TLS_LE_LS,
|
||||
BFD_RELOC_NDS32_GOTTPOFF,
|
||||
BFD_RELOC_NDS32_TLS_IE_HI20,
|
||||
BFD_RELOC_NDS32_TLS_IE_LO12S2,
|
||||
BFD_RELOC_NDS32_TLS_TPOFF,
|
||||
BFD_RELOC_NDS32_TLS_LE_20,
|
||||
BFD_RELOC_NDS32_TLS_LE_15S0,
|
||||
BFD_RELOC_NDS32_TLS_LE_15S1,
|
||||
BFD_RELOC_NDS32_TLS_LE_15S2,
|
||||
|
||||
/* This is a 9-bit reloc */
|
||||
BFD_RELOC_V850_9_PCREL,
|
||||
|
||||
|
@ -4456,6 +4487,28 @@ in .byte hi8(symbol) */
|
|||
in .byte hlo8(symbol) */
|
||||
BFD_RELOC_AVR_8_HLO,
|
||||
|
||||
/* AVR relocations to mark the difference of two local symbols.
|
||||
These are only needed to support linker relaxation and can be ignored
|
||||
when not relaxing. The field is set to the value of the difference
|
||||
assuming no relaxation. The relocation encodes the position of the
|
||||
second symbol so the linker can determine whether to adjust the field
|
||||
value. */
|
||||
BFD_RELOC_AVR_DIFF8,
|
||||
BFD_RELOC_AVR_DIFF16,
|
||||
BFD_RELOC_AVR_DIFF32,
|
||||
|
||||
/* This is a 7 bit reloc for the AVR that stores SRAM address for 16bit
|
||||
lds and sts instructions supported only tiny core. */
|
||||
BFD_RELOC_AVR_LDS_STS_16,
|
||||
|
||||
/* This is a 6 bit reloc for the AVR that stores an I/O register
|
||||
number for the IN and OUT instructions */
|
||||
BFD_RELOC_AVR_PORT6,
|
||||
|
||||
/* This is a 5 bit reloc for the AVR that stores an I/O register
|
||||
number for the SBIC, SBIS, SBI and CBI instructions */
|
||||
BFD_RELOC_AVR_PORT5,
|
||||
|
||||
/* Renesas RL78 Relocations. */
|
||||
BFD_RELOC_RL78_NEG8,
|
||||
BFD_RELOC_RL78_NEG16,
|
||||
|
@ -5119,9 +5172,31 @@ a matching LO8XG part. */
|
|||
BFD_RELOC_860_HIGOT,
|
||||
BFD_RELOC_860_HIGOTOFF,
|
||||
|
||||
/* OpenRISC Relocations. */
|
||||
BFD_RELOC_OPENRISC_ABS_26,
|
||||
BFD_RELOC_OPENRISC_REL_26,
|
||||
/* OpenRISC 1000 Relocations. */
|
||||
BFD_RELOC_OR1K_REL_26,
|
||||
BFD_RELOC_OR1K_GOTPC_HI16,
|
||||
BFD_RELOC_OR1K_GOTPC_LO16,
|
||||
BFD_RELOC_OR1K_GOT16,
|
||||
BFD_RELOC_OR1K_PLT26,
|
||||
BFD_RELOC_OR1K_GOTOFF_HI16,
|
||||
BFD_RELOC_OR1K_GOTOFF_LO16,
|
||||
BFD_RELOC_OR1K_COPY,
|
||||
BFD_RELOC_OR1K_GLOB_DAT,
|
||||
BFD_RELOC_OR1K_JMP_SLOT,
|
||||
BFD_RELOC_OR1K_RELATIVE,
|
||||
BFD_RELOC_OR1K_TLS_GD_HI16,
|
||||
BFD_RELOC_OR1K_TLS_GD_LO16,
|
||||
BFD_RELOC_OR1K_TLS_LDM_HI16,
|
||||
BFD_RELOC_OR1K_TLS_LDM_LO16,
|
||||
BFD_RELOC_OR1K_TLS_LDO_HI16,
|
||||
BFD_RELOC_OR1K_TLS_LDO_LO16,
|
||||
BFD_RELOC_OR1K_TLS_IE_HI16,
|
||||
BFD_RELOC_OR1K_TLS_IE_LO16,
|
||||
BFD_RELOC_OR1K_TLS_LE_HI16,
|
||||
BFD_RELOC_OR1K_TLS_LE_LO16,
|
||||
BFD_RELOC_OR1K_TLS_TPOFF,
|
||||
BFD_RELOC_OR1K_TLS_DTPOFF,
|
||||
BFD_RELOC_OR1K_TLS_DTPMOD,
|
||||
|
||||
/* H8 elf Relocations. */
|
||||
BFD_RELOC_H8_DIR16A8,
|
||||
|
@ -5229,6 +5304,11 @@ a matching LO8XG part. */
|
|||
BFD_RELOC_NIOS2_JUMP_SLOT,
|
||||
BFD_RELOC_NIOS2_RELATIVE,
|
||||
BFD_RELOC_NIOS2_GOTOFF,
|
||||
BFD_RELOC_NIOS2_CALL26_NOAT,
|
||||
BFD_RELOC_NIOS2_GOT_LO,
|
||||
BFD_RELOC_NIOS2_GOT_HA,
|
||||
BFD_RELOC_NIOS2_CALL_LO,
|
||||
BFD_RELOC_NIOS2_CALL_HA,
|
||||
|
||||
/* IQ2000 Relocations. */
|
||||
BFD_RELOC_IQ2000_OFFSET_16,
|
||||
|
@ -5967,7 +6047,17 @@ assembler and not (currently) written to any object files. */
|
|||
|
||||
/* Adapteva EPIPHANY - 8 bit immediate for 16 bit mov instruction. */
|
||||
BFD_RELOC_EPIPHANY_IMM8,
|
||||
|
||||
/* Visium Relocations. */
|
||||
BFD_RELOC_VISIUM_HI16,
|
||||
BFD_RELOC_VISIUM_LO16,
|
||||
BFD_RELOC_VISIUM_IM16,
|
||||
BFD_RELOC_VISIUM_REL16,
|
||||
BFD_RELOC_VISIUM_HI16_PCREL,
|
||||
BFD_RELOC_VISIUM_LO16_PCREL,
|
||||
BFD_RELOC_VISIUM_IM16_PCREL,
|
||||
BFD_RELOC_UNUSED };
|
||||
|
||||
typedef enum bfd_reloc_code_real bfd_reloc_code_real_type;
|
||||
reloc_howto_type *bfd_reloc_type_lookup
|
||||
(bfd *abfd, bfd_reloc_code_real_type code);
|
||||
|
@ -6165,6 +6255,7 @@ bfd_boolean bfd_copy_private_symbol_data
|
|||
(ibfd, isymbol, obfd, osymbol))
|
||||
|
||||
/* Extracted from bfd.c. */
|
||||
|
||||
enum bfd_direction
|
||||
{
|
||||
no_direction = 0,
|
||||
|
@ -6175,9 +6266,6 @@ enum bfd_direction
|
|||
|
||||
struct bfd
|
||||
{
|
||||
/* A unique identifier of the BFD */
|
||||
unsigned int id;
|
||||
|
||||
/* The filename the application opened the BFD with. */
|
||||
const char *filename;
|
||||
|
||||
|
@ -6200,17 +6288,17 @@ struct bfd
|
|||
/* File modified time, if mtime_set is TRUE. */
|
||||
long mtime;
|
||||
|
||||
/* Reserved for an unimplemented file locking extension. */
|
||||
int ifd;
|
||||
/* A unique identifier of the BFD */
|
||||
unsigned int id;
|
||||
|
||||
/* The format which belongs to the BFD. (object, core, etc.) */
|
||||
bfd_format format;
|
||||
ENUM_BITFIELD (bfd_format) format : 3;
|
||||
|
||||
/* The direction with which the BFD was opened. */
|
||||
enum bfd_direction direction;
|
||||
ENUM_BITFIELD (bfd_direction) direction : 2;
|
||||
|
||||
/* Format_specific flags. */
|
||||
flagword flags;
|
||||
flagword flags : 17;
|
||||
|
||||
/* Values that may appear in the flags field of a BFD. These also
|
||||
appear in the object_flags field of the bfd_target structure, where
|
||||
|
@ -6269,26 +6357,23 @@ struct bfd
|
|||
struct. */
|
||||
#define BFD_IN_MEMORY 0x800
|
||||
|
||||
/* The sections in this BFD specify a memory page. */
|
||||
#define HAS_LOAD_PAGE 0x1000
|
||||
|
||||
/* This BFD has been created by the linker and doesn't correspond
|
||||
to any input file. */
|
||||
#define BFD_LINKER_CREATED 0x2000
|
||||
#define BFD_LINKER_CREATED 0x1000
|
||||
|
||||
/* This may be set before writing out a BFD to request that it
|
||||
be written using values for UIDs, GIDs, timestamps, etc. that
|
||||
will be consistent from run to run. */
|
||||
#define BFD_DETERMINISTIC_OUTPUT 0x4000
|
||||
#define BFD_DETERMINISTIC_OUTPUT 0x2000
|
||||
|
||||
/* Compress sections in this BFD. */
|
||||
#define BFD_COMPRESS 0x8000
|
||||
#define BFD_COMPRESS 0x4000
|
||||
|
||||
/* Decompress sections in this BFD. */
|
||||
#define BFD_DECOMPRESS 0x10000
|
||||
#define BFD_DECOMPRESS 0x8000
|
||||
|
||||
/* BFD is a dummy, for plugins. */
|
||||
#define BFD_PLUGIN 0x20000
|
||||
#define BFD_PLUGIN 0x10000
|
||||
|
||||
/* Flags bits to be saved in bfd_preserve_save. */
|
||||
#define BFD_FLAGS_SAVED \
|
||||
|
@ -6299,6 +6384,42 @@ struct bfd
|
|||
(BFD_IN_MEMORY | BFD_COMPRESS | BFD_DECOMPRESS | BFD_LINKER_CREATED \
|
||||
| BFD_PLUGIN | BFD_TRADITIONAL_FORMAT | BFD_DETERMINISTIC_OUTPUT)
|
||||
|
||||
/* Is the file descriptor being cached? That is, can it be closed as
|
||||
needed, and re-opened when accessed later? */
|
||||
unsigned int cacheable : 1;
|
||||
|
||||
/* Marks whether there was a default target specified when the
|
||||
BFD was opened. This is used to select which matching algorithm
|
||||
to use to choose the back end. */
|
||||
unsigned int target_defaulted : 1;
|
||||
|
||||
/* ... and here: (``once'' means at least once). */
|
||||
unsigned int opened_once : 1;
|
||||
|
||||
/* Set if we have a locally maintained mtime value, rather than
|
||||
getting it from the file each time. */
|
||||
unsigned int mtime_set : 1;
|
||||
|
||||
/* Flag set if symbols from this BFD should not be exported. */
|
||||
unsigned int no_export : 1;
|
||||
|
||||
/* Remember when output has begun, to stop strange things
|
||||
from happening. */
|
||||
unsigned int output_has_begun : 1;
|
||||
|
||||
/* Have archive map. */
|
||||
unsigned int has_armap : 1;
|
||||
|
||||
/* Set if this is a thin archive. */
|
||||
unsigned int is_thin_archive : 1;
|
||||
|
||||
/* Set if only required symbols should be added in the link hash table for
|
||||
this object. Used by VMS linkers. */
|
||||
unsigned int selective_search : 1;
|
||||
|
||||
/* Set if this is the linker output BFD. */
|
||||
unsigned int is_linker_output : 1;
|
||||
|
||||
/* Currently my_archive is tested before adding origin to
|
||||
anything. I believe that this can become always an add of
|
||||
origin, with origin set to 0 for non archive files. */
|
||||
|
@ -6323,17 +6444,21 @@ struct bfd
|
|||
/* The number of sections. */
|
||||
unsigned int section_count;
|
||||
|
||||
/* A field used by _bfd_generic_link_add_archive_symbols. This will
|
||||
be used only for archive elements. */
|
||||
int archive_pass;
|
||||
|
||||
/* Stuff only useful for object files:
|
||||
The start address. */
|
||||
bfd_vma start_address;
|
||||
|
||||
/* Used for input and output. */
|
||||
unsigned int symcount;
|
||||
|
||||
/* Symbol table for output BFD (with symcount entries).
|
||||
Also used by the linker to cache input BFD symbols. */
|
||||
struct bfd_symbol **outsymbols;
|
||||
|
||||
/* Used for input and output. */
|
||||
unsigned int symcount;
|
||||
|
||||
/* Used for slurped dynamic symbol tables. */
|
||||
unsigned int dynsymcount;
|
||||
|
||||
|
@ -6348,12 +6473,12 @@ struct bfd
|
|||
struct bfd *nested_archives; /* List of nested archive in a flattened
|
||||
thin archive. */
|
||||
|
||||
/* A chain of BFD structures involved in a link. */
|
||||
struct bfd *link_next;
|
||||
|
||||
/* A field used by _bfd_generic_link_add_archive_symbols. This will
|
||||
be used only for archive elements. */
|
||||
int archive_pass;
|
||||
union {
|
||||
/* For input BFDs, a chain of BFDs involved in a link. */
|
||||
struct bfd *next;
|
||||
/* For output BFD, the linker hash table. */
|
||||
struct bfd_link_hash_table *hash;
|
||||
} link;
|
||||
|
||||
/* Used by the back end to hold private data. */
|
||||
union
|
||||
|
@ -6405,39 +6530,6 @@ struct bfd
|
|||
struct objalloc *, but we use void * to avoid requiring the inclusion
|
||||
of objalloc.h. */
|
||||
void *memory;
|
||||
|
||||
/* Is the file descriptor being cached? That is, can it be closed as
|
||||
needed, and re-opened when accessed later? */
|
||||
unsigned int cacheable : 1;
|
||||
|
||||
/* Marks whether there was a default target specified when the
|
||||
BFD was opened. This is used to select which matching algorithm
|
||||
to use to choose the back end. */
|
||||
unsigned int target_defaulted : 1;
|
||||
|
||||
/* ... and here: (``once'' means at least once). */
|
||||
unsigned int opened_once : 1;
|
||||
|
||||
/* Set if we have a locally maintained mtime value, rather than
|
||||
getting it from the file each time. */
|
||||
unsigned int mtime_set : 1;
|
||||
|
||||
/* Flag set if symbols from this BFD should not be exported. */
|
||||
unsigned int no_export : 1;
|
||||
|
||||
/* Remember when output has begun, to stop strange things
|
||||
from happening. */
|
||||
unsigned int output_has_begun : 1;
|
||||
|
||||
/* Have archive map. */
|
||||
unsigned int has_armap : 1;
|
||||
|
||||
/* Set if this is a thin archive. */
|
||||
unsigned int is_thin_archive : 1;
|
||||
|
||||
/* Set if only required symbols should be added in the link hash table for
|
||||
this object. Used by VMS linkers. */
|
||||
unsigned int selective_search : 1;
|
||||
};
|
||||
|
||||
/* See note beside bfd_set_section_userdata. */
|
||||
|
@ -6448,6 +6540,7 @@ bfd_set_cacheable (bfd * abfd, bfd_boolean val)
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
typedef enum bfd_error
|
||||
{
|
||||
bfd_error_no_error = 0,
|
||||
|
@ -6483,6 +6576,7 @@ const char *bfd_errmsg (bfd_error_type error_tag);
|
|||
|
||||
void bfd_perror (const char *message);
|
||||
|
||||
|
||||
typedef void (*bfd_error_handler_type) (const char *, ...);
|
||||
|
||||
bfd_error_handler_type bfd_set_error_handler (bfd_error_handler_type);
|
||||
|
@ -6491,6 +6585,7 @@ void bfd_set_error_program_name (const char *);
|
|||
|
||||
bfd_error_handler_type bfd_get_error_handler (void);
|
||||
|
||||
|
||||
typedef void (*bfd_assert_handler_type) (const char *bfd_formatmsg,
|
||||
const char *bfd_version,
|
||||
const char *bfd_file,
|
||||
|
@ -6546,12 +6641,12 @@ bfd_boolean bfd_set_private_flags (bfd *abfd, flagword flags);
|
|||
|
||||
#define bfd_find_nearest_line(abfd, sec, syms, off, file, func, line) \
|
||||
BFD_SEND (abfd, _bfd_find_nearest_line, \
|
||||
(abfd, sec, syms, off, file, func, line))
|
||||
(abfd, syms, sec, off, file, func, line, NULL))
|
||||
|
||||
#define bfd_find_nearest_line_discriminator(abfd, sec, syms, off, file, func, \
|
||||
line, disc) \
|
||||
BFD_SEND (abfd, _bfd_find_nearest_line_discriminator, \
|
||||
(abfd, sec, syms, off, file, func, line, disc))
|
||||
BFD_SEND (abfd, _bfd_find_nearest_line, \
|
||||
(abfd, syms, sec, off, file, func, line, disc))
|
||||
|
||||
#define bfd_find_line(abfd, syms, sym, file, line) \
|
||||
BFD_SEND (abfd, _bfd_find_line, \
|
||||
|
@ -6600,9 +6695,6 @@ bfd_boolean bfd_set_private_flags (bfd *abfd, flagword flags);
|
|||
#define bfd_link_hash_table_create(abfd) \
|
||||
BFD_SEND (abfd, _bfd_link_hash_table_create, (abfd))
|
||||
|
||||
#define bfd_link_hash_table_free(abfd, hash) \
|
||||
BFD_SEND (abfd, _bfd_link_hash_table_free, (hash))
|
||||
|
||||
#define bfd_link_add_symbols(abfd, info) \
|
||||
BFD_SEND (abfd, _bfd_link_add_symbols, (abfd, info))
|
||||
|
||||
|
@ -6912,12 +7004,12 @@ typedef struct bfd_target
|
|||
NAME##_make_empty_symbol, \
|
||||
NAME##_print_symbol, \
|
||||
NAME##_get_symbol_info, \
|
||||
NAME##_get_symbol_version_string, \
|
||||
NAME##_bfd_is_local_label_name, \
|
||||
NAME##_bfd_is_target_special_symbol, \
|
||||
NAME##_get_lineno, \
|
||||
NAME##_find_nearest_line, \
|
||||
_bfd_generic_find_nearest_line_discriminator, \
|
||||
_bfd_generic_find_line, \
|
||||
NAME##_find_line, \
|
||||
NAME##_find_inliner_info, \
|
||||
NAME##_bfd_make_debug_symbol, \
|
||||
NAME##_read_minisymbols, \
|
||||
|
@ -6934,14 +7026,14 @@ typedef struct bfd_target
|
|||
void (*_bfd_get_symbol_info)
|
||||
(bfd *, struct bfd_symbol *, symbol_info *);
|
||||
#define bfd_get_symbol_info(b,p,e) BFD_SEND (b, _bfd_get_symbol_info, (b,p,e))
|
||||
const char *(*_bfd_get_symbol_version_string)
|
||||
(bfd *, struct bfd_symbol *, bfd_boolean *);
|
||||
#define bfd_get_symbol_version_string(b,s,h) BFD_SEND (b, _bfd_get_symbol_version_string, (b,s,h))
|
||||
bfd_boolean (*_bfd_is_local_label_name) (bfd *, const char *);
|
||||
bfd_boolean (*_bfd_is_target_special_symbol) (bfd *, asymbol *);
|
||||
alent * (*_get_lineno) (bfd *, struct bfd_symbol *);
|
||||
bfd_boolean (*_bfd_find_nearest_line)
|
||||
(bfd *, struct bfd_section *, struct bfd_symbol **, bfd_vma,
|
||||
const char **, const char **, unsigned int *);
|
||||
bfd_boolean (*_bfd_find_nearest_line_discriminator)
|
||||
(bfd *, struct bfd_section *, struct bfd_symbol **, bfd_vma,
|
||||
(bfd *, struct bfd_symbol **, struct bfd_section *, bfd_vma,
|
||||
const char **, const char **, unsigned int *, unsigned int *);
|
||||
bfd_boolean (*_bfd_find_line)
|
||||
(bfd *, struct bfd_symbol **, struct bfd_symbol *,
|
||||
|
@ -6995,7 +7087,6 @@ typedef struct bfd_target
|
|||
NAME##_bfd_get_relocated_section_contents, \
|
||||
NAME##_bfd_relax_section, \
|
||||
NAME##_bfd_link_hash_table_create, \
|
||||
NAME##_bfd_link_hash_table_free, \
|
||||
NAME##_bfd_link_add_symbols, \
|
||||
NAME##_bfd_link_just_syms, \
|
||||
NAME##_bfd_copy_link_hash_symbol_type, \
|
||||
|
@ -7022,16 +7113,14 @@ typedef struct bfd_target
|
|||
struct bfd_link_hash_table *
|
||||
(*_bfd_link_hash_table_create) (bfd *);
|
||||
|
||||
/* Release the memory associated with the linker hash table. */
|
||||
void (*_bfd_link_hash_table_free) (struct bfd_link_hash_table *);
|
||||
|
||||
/* Add symbols from this object file into the hash table. */
|
||||
bfd_boolean (*_bfd_link_add_symbols) (bfd *, struct bfd_link_info *);
|
||||
|
||||
/* Indicate that we are only retrieving symbol values from this section. */
|
||||
void (*_bfd_link_just_syms) (asection *, struct bfd_link_info *);
|
||||
|
||||
/* Copy the symbol type of a linker hash table entry. */
|
||||
/* Copy the symbol type and other attributes for a linker script
|
||||
assignment of one symbol to another. */
|
||||
#define bfd_copy_link_hash_symbol_type(b, t, f) \
|
||||
BFD_SEND (b, _bfd_copy_link_hash_symbol_type, (b, t, f))
|
||||
void (*_bfd_copy_link_hash_symbol_type)
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
/* 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 i486--netbsdelf-gcc (NetBSD nb1 20120916) 4.8.3 20140302 (prerelease) */
|
||||
/* generated for i486--netbsdelf-gcc (NetBSD nb1 20141012) 4.8.4 20141009 (prerelease) */
|
||||
|
||||
#ifndef GCC_GENERATED_STDINT_H
|
||||
#define GCC_GENERATED_STDINT_H 1
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
/* 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 20140505
|
||||
#define BFD_VERSION 224510000
|
||||
#define BFD_VERSION_STRING "(GNU Binutils)" "2.24.51.20140505"
|
||||
#define BFD_VERSION_DATE 20150513
|
||||
#define BFD_VERSION 225510000
|
||||
#define BFD_VERSION_STRING "(GNU Binutils)" "2.25.51"
|
||||
#define REPORT_BUGS_TO "<http://www.sourceware.org/bugzilla/>"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
/* 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. */
|
||||
/* config.in. Generated from configure.ac by autoheader. */
|
||||
|
||||
/* Check that config.h is #included before system headers
|
||||
(this works only for glibc, but that should be enough). */
|
||||
|
@ -69,6 +69,10 @@
|
|||
*/
|
||||
#define HAVE_DECL_STPCPY 1
|
||||
|
||||
/* Define to 1 if you have the declaration of `strnlen', and to 0 if you
|
||||
don't. */
|
||||
#define HAVE_DECL_STRNLEN 1
|
||||
|
||||
/* Define to 1 if you have the declaration of `strstr', and to 0 if you don't.
|
||||
*/
|
||||
#define HAVE_DECL_STRSTR 1
|
||||
|
@ -286,7 +290,7 @@
|
|||
#define PACKAGE_NAME "bfd"
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#define PACKAGE_STRING "bfd 2.24.51"
|
||||
#define PACKAGE_STRING "bfd 2.25.51"
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#define PACKAGE_TARNAME "bfd"
|
||||
|
@ -295,7 +299,7 @@
|
|||
#define PACKAGE_URL ""
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#define PACKAGE_VERSION "2.24.51"
|
||||
#define PACKAGE_VERSION "2.25.51"
|
||||
|
||||
/* The size of `char', as computed by sizeof. */
|
||||
/* #undef SIZEOF_CHAR */
|
||||
|
@ -340,7 +344,7 @@
|
|||
/* #undef USE_MMAP */
|
||||
|
||||
/* Define if we should default to creating read-only plt entries */
|
||||
/* #undef USE_SECUREPLT */
|
||||
#define USE_SECUREPLT 1
|
||||
|
||||
/* Define if we may generate symbols with ELF's STT_COMMON type */
|
||||
/* #undef USE_STT_COMMON */
|
||||
|
@ -368,7 +372,7 @@
|
|||
|
||||
|
||||
/* Version number of package */
|
||||
#define VERSION "2.24.51"
|
||||
#define VERSION "2.25.51"
|
||||
|
||||
/* Number of bits in a file offset, on hosts where this is settable. */
|
||||
/* #undef _FILE_OFFSET_BITS */
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
# This file is automatically generated. DO NOT EDIT!
|
||||
# Generated from: NetBSD: mknative-gdb,v 1.5 2011/11/06 19:46:12 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_libbfd_la_DEPENDENCIES=elf32-i386.lo elf-ifunc.lo elf-nacl.lo elf-vxworks.lo elf32.lo elf.lo elflink.lo elf-attrs.lo elf-strtab.lo elf-eh-frame.lo dwarf1.lo i386netbsd.lo aout32.lo elf32-gen.lo cpu-i386.lo netbsd-core.lo ofiles
|
||||
G_libbfd_la_OBJECTS=archive.lo archures.lo bfd.lo bfdio.lo bfdwin.lo cache.lo coffgen.lo corefile.lo format.lo init.lo libbfd.lo opncls.lo reloc.lo section.lo syms.lo targets.lo hash.lo linker.lo srec.lo binary.lo tekhex.lo ihex.lo stabs.lo stab-syms.lo merge.lo dwarf2.lo simple.lo compress.lo verilog.lo
|
||||
G_libbfd_la_DEPENDENCIES=elf32-i386.lo elf-ifunc.lo elf-nacl.lo elf-vxworks.lo elf32.lo elf.lo elflink.lo elf-attrs.lo elf-strtab.lo elf-eh-frame.lo dwarf1.lo dwarf2.lo i386netbsd.lo aout32.lo elf32-gen.lo plugin.lo cpu-i386.lo cpu-plugin.lo netbsd-core.lo ofiles
|
||||
G_libbfd_la_OBJECTS=archive.lo archures.lo bfd.lo bfdio.lo bfdwin.lo cache.lo coff-bfd.lo compress.lo corefile.lo format.lo hash.lo init.lo libbfd.lo linker.lo merge.lo opncls.lo reloc.lo section.lo simple.lo stab-syms.lo stabs.lo syms.lo targets.lo binary.lo ihex.lo srec.lo tekhex.lo verilog.lo
|
||||
G_DEFS=-DHAVE_CONFIG_H
|
||||
G_INCLUDES=-DNETBSD_CORE -I. -I${GNUHOSTDIST}/bfd -I${GNUHOSTDIST}/bfd/../include -DHAVE_bfd_elf32_i386_vec -DHAVE_i386netbsd_vec -DHAVE_bfd_elf32_little_generic_vec -DHAVE_bfd_elf32_big_generic_vec -I./../intl
|
||||
G_TDEFAULTS=-DDEFAULT_VECTOR=bfd_elf32_i386_vec -DSELECT_VECS='&bfd_elf32_i386_vec,&i386netbsd_vec,&bfd_elf32_little_generic_vec,&bfd_elf32_big_generic_vec' -DSELECT_ARCHITECTURES='&bfd_i386_arch'
|
||||
G_INCLUDES=-DNETBSD_CORE -I. -I${GNUHOSTDIST}/bfd -I${GNUHOSTDIST}/bfd/../include -DHAVE_i386_elf32_vec -DHAVE_i386_aout_nbsd_vec -DHAVE_elf32_le_vec -DHAVE_elf32_be_vec -DHAVE_plugin_vec -I./../intl
|
||||
G_TDEFAULTS=-DDEFAULT_VECTOR=i386_elf32_vec -DSELECT_VECS='&i386_elf32_vec,&i386_aout_nbsd_vec,&elf32_le_vec,&elf32_be_vec,&plugin_vec' -DSELECT_ARCHITECTURES='&bfd_i386_arch,&bfd_plugin_arch'
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -2,7 +2,7 @@
|
|||
/* 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 i486--netbsdelf-gcc (NetBSD nb1 20120916) 4.8.3 20140302 (prerelease) */
|
||||
/* generated for i486--netbsdelf-gcc (NetBSD nb1 20141012) 4.8.4 20141009 (prerelease) */
|
||||
|
||||
#ifndef GCC_GENERATED_STDINT_H
|
||||
#define GCC_GENERATED_STDINT_H 1
|
||||
|
|
|
@ -38,12 +38,57 @@
|
|||
/* Define as the word index where to find the exponent of 'double'. */
|
||||
#define DBL_EXPBIT0_WORD 1
|
||||
|
||||
/* the name of the file descriptor member of DIR */
|
||||
/* #undef DIR_FD_MEMBER_NAME */
|
||||
|
||||
#ifdef DIR_FD_MEMBER_NAME
|
||||
# define DIR_TO_FD(Dir_p) ((Dir_p)->DIR_FD_MEMBER_NAME)
|
||||
#else
|
||||
# define DIR_TO_FD(Dir_p) -1
|
||||
#endif
|
||||
|
||||
|
||||
/* Define to 1 if // is a file system root distinct from /. */
|
||||
/* #undef DOUBLE_SLASH_IS_DISTINCT_ROOT */
|
||||
|
||||
/* Define to 1 if realpath() can malloc memory, always gives an absolute path,
|
||||
and handles trailing slash correctly. */
|
||||
/* #undef FUNC_REALPATH_WORKS */
|
||||
|
||||
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
||||
whether the gnulib module canonicalize-lgpl shall be considered present. */
|
||||
#define GNULIB_CANONICALIZE_LGPL 1
|
||||
|
||||
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
||||
whether the gnulib module fscanf shall be considered present. */
|
||||
#define GNULIB_FSCANF 1
|
||||
|
||||
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
||||
whether the gnulib module scanf shall be considered present. */
|
||||
#define GNULIB_SCANF 1
|
||||
|
||||
/* Define to 1 when the gnulib module canonicalize_file_name should be tested.
|
||||
*/
|
||||
#define GNULIB_TEST_CANONICALIZE_FILE_NAME 1
|
||||
|
||||
/* Define to 1 when the gnulib module chdir should be tested. */
|
||||
#define GNULIB_TEST_CHDIR 1
|
||||
|
||||
/* Define to 1 when the gnulib module dirfd should be tested. */
|
||||
#define GNULIB_TEST_DIRFD 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 lstat should be tested. */
|
||||
#define GNULIB_TEST_LSTAT 1
|
||||
|
||||
/* Define to 1 when the gnulib module malloc-posix should be tested. */
|
||||
#define GNULIB_TEST_MALLOC_POSIX 1
|
||||
|
||||
/* Define to 1 when the gnulib module mbrtowc should be tested. */
|
||||
#define GNULIB_TEST_MBRTOWC 1
|
||||
|
||||
|
@ -59,6 +104,21 @@
|
|||
/* Define to 1 when the gnulib module memmem should be tested. */
|
||||
#define GNULIB_TEST_MEMMEM 1
|
||||
|
||||
/* Define to 1 when the gnulib module readlink should be tested. */
|
||||
#define GNULIB_TEST_READLINK 1
|
||||
|
||||
/* Define to 1 when the gnulib module realpath should be tested. */
|
||||
#define GNULIB_TEST_REALPATH 1
|
||||
|
||||
/* Define to 1 when the gnulib module rename should be tested. */
|
||||
#define GNULIB_TEST_RENAME 1
|
||||
|
||||
/* Define to 1 when the gnulib module rmdir should be tested. */
|
||||
#define GNULIB_TEST_RMDIR 1
|
||||
|
||||
/* Define to 1 when the gnulib module stat should be tested. */
|
||||
#define GNULIB_TEST_STAT 1
|
||||
|
||||
/* Define to 1 when the gnulib module strstr should be tested. */
|
||||
#define GNULIB_TEST_STRSTR 1
|
||||
|
||||
|
@ -79,6 +139,13 @@
|
|||
/* Define to 1 if you have the `btowc' function. */
|
||||
#define HAVE_BTOWC 1
|
||||
|
||||
/* Define to 1 if you have the `canonicalize_file_name' function. */
|
||||
/* #undef HAVE_CANONICALIZE_FILE_NAME */
|
||||
|
||||
/* Define to 1 if you have the declaration of `dirfd', and to 0 if you don't.
|
||||
*/
|
||||
#define HAVE_DECL_DIRFD 1
|
||||
|
||||
/* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you
|
||||
don't. */
|
||||
#define HAVE_DECL_GETC_UNLOCKED 1
|
||||
|
@ -110,6 +177,9 @@
|
|||
/* Define to 1 if you have the <dirent.h> header file. */
|
||||
#define HAVE_DIRENT_H 1
|
||||
|
||||
/* Define to 1 if you have the `dirfd' function. */
|
||||
/* #undef HAVE_DIRFD */
|
||||
|
||||
/* Define to 1 if you have the <features.h> header file. */
|
||||
/* #undef HAVE_FEATURES_H */
|
||||
|
||||
|
@ -119,6 +189,9 @@
|
|||
/* Define if the frexpl() function is available. */
|
||||
#define HAVE_FREXPL 1
|
||||
|
||||
/* Define to 1 if you have the `getcwd' function. */
|
||||
#define HAVE_GETCWD 1
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#define HAVE_INTTYPES_H 1
|
||||
|
||||
|
@ -140,9 +213,18 @@
|
|||
/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
|
||||
#define HAVE_LANGINFO_CODESET 1
|
||||
|
||||
/* Define to 1 if you have the `link' function. */
|
||||
#define HAVE_LINK 1
|
||||
|
||||
/* Define to 1 if the system has the type 'long long int'. */
|
||||
#define HAVE_LONG_LONG_INT 1
|
||||
|
||||
/* Define to 1 if you have the `lstat' function. */
|
||||
#define HAVE_LSTAT 1
|
||||
|
||||
/* Define if the 'malloc' function is POSIX compliant. */
|
||||
#define HAVE_MALLOC_POSIX 1
|
||||
|
||||
/* Define to 1 if mmap()'s MAP_ANONYMOUS flag is available after including
|
||||
config.h and <sys/mman.h>. */
|
||||
#define HAVE_MAP_ANONYMOUS 1
|
||||
|
@ -195,9 +277,16 @@
|
|||
/* Define to 1 if atanl is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_ATANL 1
|
||||
|
||||
/* Define to 1 if atoll is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_ATOLL 1
|
||||
|
||||
/* Define to 1 if btowc is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_BTOWC 1
|
||||
|
||||
/* Define to 1 if canonicalize_file_name is declared even after undefining
|
||||
macros. */
|
||||
/* #undef HAVE_RAW_DECL_CANONICALIZE_FILE_NAME */
|
||||
|
||||
/* Define to 1 if cbrt is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_CBRT 1
|
||||
|
||||
|
@ -243,6 +332,9 @@
|
|||
/* Define to 1 if dirfd is declared even after undefining macros. */
|
||||
/* #undef HAVE_RAW_DECL_DIRFD */
|
||||
|
||||
/* Define to 1 if dprintf is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_DPRINTF 1
|
||||
|
||||
/* Define to 1 if dup is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_DUP 1
|
||||
|
||||
|
@ -339,12 +431,18 @@
|
|||
/* Define to 1 if fmodl is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_FMODL 1
|
||||
|
||||
/* Define to 1 if fpurge is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_FPURGE 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 fseeko is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_FSEEKO 1
|
||||
|
||||
/* Define to 1 if fstat is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_FSTAT 1
|
||||
|
||||
|
@ -354,6 +452,9 @@
|
|||
/* Define to 1 if fsync is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_FSYNC 1
|
||||
|
||||
/* Define to 1 if ftello is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_FTELLO 1
|
||||
|
||||
/* Define to 1 if ftruncate is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_FTRUNCATE 1
|
||||
|
||||
|
@ -363,6 +464,9 @@
|
|||
/* Define to 1 if getcwd is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_GETCWD 1
|
||||
|
||||
/* Define to 1 if getdelim is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_GETDELIM 1
|
||||
|
||||
/* Define to 1 if getdomainname is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_GETDOMAINNAME 1
|
||||
|
||||
|
@ -375,6 +479,12 @@
|
|||
/* Define to 1 if gethostname is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_GETHOSTNAME 1
|
||||
|
||||
/* Define to 1 if getline is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_GETLINE 1
|
||||
|
||||
/* Define to 1 if getloadavg is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_GETLOADAVG 1
|
||||
|
||||
/* Define to 1 if getlogin is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_GETLOGIN 1
|
||||
|
||||
|
@ -384,9 +494,18 @@
|
|||
/* Define to 1 if getpagesize is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_GETPAGESIZE 1
|
||||
|
||||
/* Define to 1 if gets is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_GETS 1
|
||||
|
||||
/* Define to 1 if getsubopt is declared even after undefining macros. */
|
||||
/* #undef HAVE_RAW_DECL_GETSUBOPT */
|
||||
|
||||
/* Define to 1 if getusershell is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_GETUSERSHELL 1
|
||||
|
||||
/* Define to 1 if grantpt is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_GRANTPT 1
|
||||
|
||||
/* Define to 1 if group_member is declared even after undefining macros. */
|
||||
/* #undef HAVE_RAW_DECL_GROUP_MEMBER */
|
||||
|
||||
|
@ -411,6 +530,12 @@
|
|||
/* Define to 1 if imaxdiv is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_IMAXDIV 1
|
||||
|
||||
/* Define to 1 if initstate is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_INITSTATE 1
|
||||
|
||||
/* Define to 1 if initstate_r is declared even after undefining macros. */
|
||||
/* #undef HAVE_RAW_DECL_INITSTATE_R */
|
||||
|
||||
/* Define to 1 if isatty is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_ISATTY 1
|
||||
|
||||
|
@ -513,6 +638,9 @@
|
|||
/* Define to 1 if mkdirat is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_MKDIRAT 1
|
||||
|
||||
/* Define to 1 if mkdtemp is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_MKDTEMP 1
|
||||
|
||||
/* Define to 1 if mkfifo is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_MKFIFO 1
|
||||
|
||||
|
@ -525,6 +653,18 @@
|
|||
/* Define to 1 if mknodat is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_MKNODAT 1
|
||||
|
||||
/* Define to 1 if mkostemp is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_MKOSTEMP 1
|
||||
|
||||
/* Define to 1 if mkostemps is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_MKOSTEMPS 1
|
||||
|
||||
/* Define to 1 if mkstemp is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_MKSTEMP 1
|
||||
|
||||
/* Define to 1 if mkstemps is declared even after undefining macros. */
|
||||
/* #undef HAVE_RAW_DECL_MKSTEMPS */
|
||||
|
||||
/* Define to 1 if modf is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_MODF 1
|
||||
|
||||
|
@ -537,21 +677,42 @@
|
|||
/* Define to 1 if opendir is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_OPENDIR 1
|
||||
|
||||
/* Define to 1 if pclose is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_PCLOSE 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 popen is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_POPEN 1
|
||||
|
||||
/* Define to 1 if posix_openpt is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_POSIX_OPENPT 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 ptsname is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_PTSNAME 1
|
||||
|
||||
/* Define to 1 if ptsname_r is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_PTSNAME_R 1
|
||||
|
||||
/* Define to 1 if pwrite is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_PWRITE 1
|
||||
|
||||
/* Define to 1 if random is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_RANDOM 1
|
||||
|
||||
/* Define to 1 if random_r is declared even after undefining macros. */
|
||||
/* #undef HAVE_RAW_DECL_RANDOM_R */
|
||||
|
||||
/* Define to 1 if rawmemchr is declared even after undefining macros. */
|
||||
/* #undef HAVE_RAW_DECL_RAWMEMCHR */
|
||||
|
||||
|
@ -564,6 +725,9 @@
|
|||
/* Define to 1 if readlinkat is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_READLINKAT 1
|
||||
|
||||
/* Define to 1 if realpath is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_REALPATH 1
|
||||
|
||||
/* Define to 1 if remainder is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_REMAINDER 1
|
||||
|
||||
|
@ -573,6 +737,9 @@
|
|||
/* Define to 1 if remainderl is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_REMAINDERL 1
|
||||
|
||||
/* Define to 1 if renameat is declared even after undefining macros. */
|
||||
/* #undef HAVE_RAW_DECL_RENAMEAT */
|
||||
|
||||
/* Define to 1 if rewinddir is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_REWINDDIR 1
|
||||
|
||||
|
@ -597,12 +764,24 @@
|
|||
/* Define to 1 if roundl is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_ROUNDL 1
|
||||
|
||||
/* Define to 1 if rpmatch is declared even after undefining macros. */
|
||||
/* #undef HAVE_RAW_DECL_RPMATCH */
|
||||
|
||||
/* Define to 1 if scandir is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_SCANDIR 1
|
||||
|
||||
/* Define to 1 if setenv is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_SETENV 1
|
||||
|
||||
/* Define to 1 if sethostname is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_SETHOSTNAME 1
|
||||
|
||||
/* Define to 1 if setstate is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_SETSTATE 1
|
||||
|
||||
/* Define to 1 if setstate_r is declared even after undefining macros. */
|
||||
/* #undef HAVE_RAW_DECL_SETSTATE_R */
|
||||
|
||||
/* Define to 1 if setusershell is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_SETUSERSHELL 1
|
||||
|
||||
|
@ -618,12 +797,21 @@
|
|||
/* Define to 1 if sleep is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_SLEEP 1
|
||||
|
||||
/* Define to 1 if snprintf is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_SNPRINTF 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 srandom is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_SRANDOM 1
|
||||
|
||||
/* Define to 1 if srandom_r is declared even after undefining macros. */
|
||||
/* #undef HAVE_RAW_DECL_SRANDOM_R */
|
||||
|
||||
/* Define to 1 if stat is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_STAT 1
|
||||
|
||||
|
@ -663,12 +851,21 @@
|
|||
/* Define to 1 if strsignal is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_STRSIGNAL 1
|
||||
|
||||
/* Define to 1 if strtod is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_STRTOD 1
|
||||
|
||||
/* Define to 1 if strtoimax is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_STRTOIMAX 1
|
||||
|
||||
/* Define to 1 if strtok_r is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_STRTOK_R 1
|
||||
|
||||
/* Define to 1 if strtoll is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_STRTOLL 1
|
||||
|
||||
/* Define to 1 if strtoull is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_STRTOULL 1
|
||||
|
||||
/* Define to 1 if strtoumax is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_STRTOUMAX 1
|
||||
|
||||
|
@ -690,6 +887,9 @@
|
|||
/* Define to 1 if tanl is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_TANL 1
|
||||
|
||||
/* Define to 1 if tmpfile is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_TMPFILE 1
|
||||
|
||||
/* Define to 1 if towctrans is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_TOWCTRANS 1
|
||||
|
||||
|
@ -711,12 +911,24 @@
|
|||
/* Define to 1 if unlinkat is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_UNLINKAT 1
|
||||
|
||||
/* Define to 1 if unlockpt is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_UNLOCKPT 1
|
||||
|
||||
/* Define to 1 if unsetenv is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_UNSETENV 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 vdprintf is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_VDPRINTF 1
|
||||
|
||||
/* Define to 1 if vsnprintf is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_VSNPRINTF 1
|
||||
|
||||
/* Define to 1 if wcpcpy is declared even after undefining macros. */
|
||||
/* #undef HAVE_RAW_DECL_WCPCPY */
|
||||
|
||||
|
@ -822,6 +1034,15 @@
|
|||
/* Define to 1 if wmemset is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL_WMEMSET 1
|
||||
|
||||
/* Define to 1 if _Exit is declared even after undefining macros. */
|
||||
#define HAVE_RAW_DECL__EXIT 1
|
||||
|
||||
/* Define to 1 if you have the `readlink' function. */
|
||||
#define HAVE_READLINK 1
|
||||
|
||||
/* Define to 1 if you have the `realpath' function. */
|
||||
#define HAVE_REALPATH 1
|
||||
|
||||
/* Define to 1 if 'long double' and 'double' have the same representation. */
|
||||
/* #undef HAVE_SAME_LONG_DOUBLE_AS_DOUBLE */
|
||||
|
||||
|
@ -916,8 +1137,15 @@
|
|||
/* Define as the word index where to find the exponent of 'long double'. */
|
||||
/* #undef LDBL_EXPBIT0_WORD */
|
||||
|
||||
/* Define to 1 if 'lstat' dereferences a symlink specified with a trailing
|
||||
slash. */
|
||||
/* #undef LSTAT_FOLLOWS_SLASHED_SYMLINK */
|
||||
|
||||
/* If malloc(0) is != NULL, define this to 1. Otherwise define this to 0. */
|
||||
#define MALLOC_0_IS_NONNULL 1
|
||||
|
||||
/* Define to a substitute value for mmap()'s MAP_ANONYMOUS flag. */
|
||||
#define MAP_ANONYMOUS MAP_ANON
|
||||
/* #undef MAP_ANONYMOUS */
|
||||
|
||||
/* Define if the mbrtowc function has the NULL pwc argument bug. */
|
||||
/* #undef MBRTOWC_NULL_ARG1_BUG */
|
||||
|
@ -956,6 +1184,33 @@
|
|||
'ptrdiff_t'. */
|
||||
/* #undef PTRDIFF_T_SUFFIX */
|
||||
|
||||
/* Define to 1 if readlink fails to recognize a trailing slash. */
|
||||
#define READLINK_TRAILING_SLASH_BUG 1
|
||||
|
||||
/* Define if rename does not work when the destination file exists, as on
|
||||
Cygwin 1.5 or Windows. */
|
||||
#define RENAME_DEST_EXISTS_BUG 1
|
||||
|
||||
/* Define if rename fails to leave hard links alone, as on NetBSD 1.6 or
|
||||
Cygwin 1.5. */
|
||||
#define RENAME_HARD_LINK_BUG 1
|
||||
|
||||
/* Define if rename does not correctly handle slashes on the destination
|
||||
argument, such as on Solaris 10 or NetBSD 1.6. */
|
||||
#define RENAME_TRAILING_SLASH_DEST_BUG 1
|
||||
|
||||
/* Define if rename does not correctly handle slashes on the source argument,
|
||||
such as on Solaris 9 or cygwin 1.5. */
|
||||
#define RENAME_TRAILING_SLASH_SOURCE_BUG 1
|
||||
|
||||
/* Define to 1 if stat needs help when passed a directory name with a trailing
|
||||
slash */
|
||||
/* #undef REPLACE_FUNC_STAT_DIR */
|
||||
|
||||
/* Define to 1 if stat needs help when passed a file name with a trailing
|
||||
slash */
|
||||
#define REPLACE_FUNC_STAT_FILE 1
|
||||
|
||||
/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
|
||||
'sig_atomic_t'. */
|
||||
/* #undef SIG_ATOMIC_T_SUFFIX */
|
||||
|
@ -998,10 +1253,21 @@
|
|||
# endif
|
||||
#endif
|
||||
|
||||
/* Enable large inode numbers on Mac OS X. */
|
||||
#ifndef _DARWIN_USE_64_BIT_INODE
|
||||
# define _DARWIN_USE_64_BIT_INODE 1
|
||||
#endif
|
||||
|
||||
/* Number of bits in a file offset, on hosts where this is settable. */
|
||||
/* #undef _FILE_OFFSET_BITS */
|
||||
|
||||
/* 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 for large files, on AIX-style hosts. */
|
||||
/* #undef _LARGE_FILES */
|
||||
|
||||
/* Define to 1 if on MINIX. */
|
||||
/* #undef _MINIX */
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
#define DEFAULT_BFD_ARCH bfd_i386_arch
|
||||
|
||||
/* Define to BFD's default target vector. */
|
||||
#define DEFAULT_BFD_VEC bfd_elf32_i386_vec
|
||||
#define DEFAULT_BFD_VEC i386_elf32_vec
|
||||
|
||||
/* Define to 1 if translation of program messages to the user's native
|
||||
language is requested. */
|
||||
|
@ -80,9 +80,6 @@
|
|||
/* Define to 1 if you have the `btowc' function. */
|
||||
#define HAVE_BTOWC 1
|
||||
|
||||
/* Define to 1 if you have the `canonicalize_file_name' function. */
|
||||
/* #undef HAVE_CANONICALIZE_FILE_NAME */
|
||||
|
||||
/* Define to 1 if you have the <cursesX.h> header file. */
|
||||
/* #undef HAVE_CURSESX_H */
|
||||
|
||||
|
@ -164,6 +161,9 @@
|
|||
/* Define if <sys/procfs.h> has gregset_t. */
|
||||
/* #undef HAVE_GREGSET_T */
|
||||
|
||||
/* Define if Guile interpreter is being linked in. */
|
||||
/* #undef HAVE_GUILE */
|
||||
|
||||
/* Define if you have the iconv() function. */
|
||||
#define HAVE_ICONV 1
|
||||
|
||||
|
@ -227,9 +227,6 @@
|
|||
/* Define to 1 if the compiler supports long double. */
|
||||
#define HAVE_LONG_DOUBLE 1
|
||||
|
||||
/* Define to 1 if you have the `lstat' function. */
|
||||
#define HAVE_LSTAT 1
|
||||
|
||||
/* Define if <sys/procfs.h> has lwpid_t. */
|
||||
/* #undef HAVE_LWPID_T */
|
||||
|
||||
|
@ -239,6 +236,9 @@
|
|||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#define HAVE_MEMORY_H 1
|
||||
|
||||
/* Define to 1 if you have the `mkdtemp' function. */
|
||||
#define HAVE_MKDTEMP 1
|
||||
|
||||
/* Define to 1 if you have a working `mmap' system call. */
|
||||
#define HAVE_MMAP 1
|
||||
|
||||
|
@ -332,18 +332,15 @@
|
|||
/* Define if Python interpreter is being linked in. */
|
||||
/* #undef HAVE_PYTHON */
|
||||
|
||||
/* Define to 1 if you have the `readlink' function. */
|
||||
#define HAVE_READLINK 1
|
||||
|
||||
/* Define to 1 if you have the `realpath' function. */
|
||||
#define HAVE_REALPATH 1
|
||||
|
||||
/* Define to 1 if you have the `resize_term' function. */
|
||||
/* #undef HAVE_RESIZE_TERM */
|
||||
|
||||
/* Define to 1 if you have the `sbrk' function. */
|
||||
#define HAVE_SBRK 1
|
||||
|
||||
/* Define to 1 if you have the `scm_new_smob' function. */
|
||||
/* #undef HAVE_SCM_NEW_SMOB */
|
||||
|
||||
/* Define to 1 if you have the `setlocale' function. */
|
||||
#define HAVE_SETLOCALE 1
|
||||
|
||||
|
@ -365,6 +362,9 @@
|
|||
/* Define to 1 if you have the `sigaction' function. */
|
||||
#define HAVE_SIGACTION 1
|
||||
|
||||
/* Define to 1 if you have the `sigaltstack' function. */
|
||||
#define HAVE_SIGALTSTACK 1
|
||||
|
||||
/* Define to 1 if you have the <signal.h> header file. */
|
||||
#define HAVE_SIGNAL_H 1
|
||||
|
||||
|
@ -521,6 +521,9 @@
|
|||
/* Define to 1 if you have the `wborder' function. */
|
||||
#define HAVE_WBORDER 1
|
||||
|
||||
/* Define to 1 if you have the <windows.h> header file. */
|
||||
/* #undef HAVE_WINDOWS_H */
|
||||
|
||||
/* Define to 1 if `fork' works. */
|
||||
#define HAVE_WORKING_FORK 1
|
||||
|
||||
|
|
|
@ -3,5 +3,5 @@
|
|||
# Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp
|
||||
#
|
||||
G_INTERNAL_CFLAGS= -I. -I${GNUHOSTDIST}/gdb -I${GNUHOSTDIST}/gdb/common -I${GNUHOSTDIST}/gdb/config -DLOCALEDIR="\"/usr/share/locale\"" -DHAVE_CONFIG_H -I${GNUHOSTDIST}/gdb/../include/opcode -I${GNUHOSTDIST}/gdb/../opcodes/.. -I${GNUHOSTDIST}/gdb/../readline/.. -I../bfd -I${GNUHOSTDIST}/gdb/../bfd -I${GNUHOSTDIST}/gdb/../include -I../libdecnumber -I${GNUHOSTDIST}/gdb/../libdecnumber -I./../intl -I${GNUHOSTDIST}/gdb/gnulib/import -Ibuild-gnulib/import -DTUI=1 -Wall -Wdeclaration-after-statement -Wpointer-arith -Wpointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes -Wdeclaration-after-statement -Wempty-body -Wmissing-parameter-type -Wold-style-declaration -Wold-style-definition -Wformat-nonliteral
|
||||
G_LIBGDB_OBS=i386-tdep.o i387-tdep.o i386bsd-tdep.o i386nbsd-tdep.o nbsd-tdep.o solib-svr4.o ser-base.o ser-unix.o ser-pipe.o ser-tcp.o fork-child.o inf-ptrace.o nbsd-nat.o i386bsd-nat.o i386nbsd-nat.o bsd-kvm.o nbsd-thread.o remote.o dcache.o tracepoint.o ax-general.o ax-gdb.o remote-fileio.o remote-notif.o ctf.o 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_LIBGDB_OBS=i386-tdep.o i387-tdep.o i386bsd-tdep.o i386nbsd-tdep.o nbsd-tdep.o solib-svr4.o ser-base.o ser-unix.o ser-pipe.o ser-tcp.o fork-child.o inf-ptrace.o nbsd-nat.o i386bsd-nat.o i386nbsd-nat.o bsd-kvm.o nbsd-thread.o remote.o dcache.o tracepoint.o ax-general.o ax-gdb.o remote-fileio.o remote-notif.o ctf.o tracefile.o tracefile-tfile.o cli-dump.o cli-decode.o cli-script.o cli-cmds.o cli-setshow.o cli-logging.o cli-interp.o cli-utils.o mi-out.o mi-console.o mi-cmds.o mi-cmd-catch.o mi-cmd-env.o mi-cmd-var.o mi-cmd-break.o mi-cmd-stack.o mi-cmd-file.o mi-cmd-disas.o mi-symbol-cmds.o mi-cmd-target.o mi-cmd-info.o mi-interp.o mi-main.o mi-parse.o mi-getopt.o tui-command.o tui-data.o tui-disasm.o tui-file.o tui-hooks.o tui-interp.o tui-io.o tui-layout.o tui-out.o tui-regs.o tui-source.o tui-stack.o tui-win.o tui-windata.o tui-wingeneral.o tui-winsource.o tui.o python.o guile.o elfread.o stap-probe.o posix-hdep.o c-exp.o cp-name-parser.o ada-exp.o jv-exp.o d-exp.o f-exp.o go-exp.o m2-exp.o p-exp.o version.o annotate.o addrmap.o auto-load.o auxv.o agent.o bfd-target.o blockframe.o breakpoint.o break-catch-sig.o break-catch-throw.o findvar.o regcache.o cleanups.o charset.o continuations.o corelow.o disasm.o dummy-frame.o dfp.o source.o value.o eval.o valops.o valarith.o valprint.o printcmd.o block.o symtab.o psymtab.o symfile.o symfile-debug.o symmisc.o linespec.o dictionary.o infcall.o infcmd.o infrun.o expprint.o environ.o stack.o thread.o exceptions.o extension.o filesystem.o filestuff.o inf-child.o interps.o minidebug.o main.o macrotab.o macrocmd.o macroexp.o macroscope.o mi-common.o event-loop.o event-top.o inf-loop.o completer.o gdbarch.o arch-utils.o gdbtypes.o gdb_bfd.o gdb_obstack.o osabi.o copying.o memattr.o mem-break.o target.o target-dcache.o parse.o language.o build-id.o buildsym.o findcmd.o std-regs.o signals.o exec.o reverse.o bcache.o objfiles.o observer.o minsyms.o maint.o demangle.o dbxread.o coffread.o coff-pe-read.o dwarf2read.o mipsread.o stabsread.o corefile.o dwarf2expr.o dwarf2loc.o dwarf2-frame.o dwarf2-frame-tailcall.o ada-lang.o c-lang.o d-lang.o f-lang.o objc-lang.o ada-tasks.o ada-varobj.o c-varobj.o ui-out.o cli-out.o varobj.o vec.o go-lang.o go-valprint.o go-typeprint.o jv-lang.o jv-valprint.o jv-typeprint.o jv-varobj.o m2-lang.o opencl-lang.o p-lang.o p-typeprint.o p-valprint.o sentinel-frame.o complaints.o typeprint.o ada-typeprint.o c-typeprint.o f-typeprint.o m2-typeprint.o ada-valprint.o c-valprint.o cp-valprint.o d-valprint.o f-valprint.o m2-valprint.o serial.o mdebugread.o top.o utils.o ui-file.o user-regs.o frame.o frame-unwind.o doublest.o frame-base.o inline-frame.o gnu-v2-abi.o gnu-v3-abi.o cp-abi.o cp-support.o cp-namespace.o reggroups.o trad-frame.o tramp-frame.o solib.o solib-target.o prologue-value.o memory-map.o memrange.o xml-support.o xml-syscall.o xml-utils.o target-descriptions.o target-memory.o xml-tdesc.o xml-builtin.o inferior.o osdata.o gdb_usleep.o record.o record-full.o gcore.o gdb_vecs.o jit.o progspace.o skip.o probe.o common-utils.o buffer.o ptid.o gdb-dlfcn.o common-agent.o format.o registry.o btrace.o record-btrace.o waitstatus.o print-utils.o rsp-low.o errors.o common-debug.o debug.o common-exceptions.o compile.o compile-c-symbols.o compile-c-types.o compile-object-load.o compile-object-run.o compile-loc2c.o compile-c-support.o inflow.o init.o
|
||||
G_SIM_OBS=
|
||||
|
|
|
@ -24,6 +24,8 @@ 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_tracefile;
|
||||
extern initialize_file_ftype _initialize_tracefile_tfile;
|
||||
extern initialize_file_ftype _initialize_elfread;
|
||||
extern initialize_file_ftype _initialize_stap_probe;
|
||||
extern initialize_file_ftype _initialize_annotate;
|
||||
|
@ -54,6 +56,7 @@ extern initialize_file_ftype _initialize_infcmd;
|
|||
extern initialize_file_ftype _initialize_infrun;
|
||||
extern initialize_file_ftype _initialize_stack;
|
||||
extern initialize_file_ftype _initialize_thread;
|
||||
extern initialize_file_ftype _initialize_extension;
|
||||
extern initialize_file_ftype _initialize_filesystem;
|
||||
extern initialize_file_ftype _initialize_interpreter;
|
||||
extern initialize_file_ftype _initialize_macrocmd;
|
||||
|
@ -139,6 +142,7 @@ extern initialize_file_ftype _initialize_cli_interp;
|
|||
extern initialize_file_ftype _initialize_mi_cmds;
|
||||
extern initialize_file_ftype _initialize_mi_cmd_env;
|
||||
extern initialize_file_ftype _initialize_mi_interp;
|
||||
extern initialize_file_ftype _initialize_mi_main;
|
||||
extern initialize_file_ftype _initialize_tui_hooks;
|
||||
extern initialize_file_ftype _initialize_tui_interp;
|
||||
extern initialize_file_ftype _initialize_tui_layout;
|
||||
|
@ -147,6 +151,8 @@ extern initialize_file_ftype _initialize_tui_regs;
|
|||
extern initialize_file_ftype _initialize_tui_stack;
|
||||
extern initialize_file_ftype _initialize_tui_win;
|
||||
extern initialize_file_ftype _initialize_python;
|
||||
extern initialize_file_ftype _initialize_guile;
|
||||
extern initialize_file_ftype _initialize_compile;
|
||||
void
|
||||
initialize_all_files (void)
|
||||
{
|
||||
|
@ -168,6 +174,8 @@ initialize_all_files (void)
|
|||
_initialize_ax_gdb ();
|
||||
_initialize_notif ();
|
||||
_initialize_ctf ();
|
||||
_initialize_tracefile ();
|
||||
_initialize_tracefile_tfile ();
|
||||
_initialize_elfread ();
|
||||
_initialize_stap_probe ();
|
||||
_initialize_annotate ();
|
||||
|
@ -198,6 +206,7 @@ initialize_all_files (void)
|
|||
_initialize_infrun ();
|
||||
_initialize_stack ();
|
||||
_initialize_thread ();
|
||||
_initialize_extension ();
|
||||
_initialize_filesystem ();
|
||||
_initialize_interpreter ();
|
||||
_initialize_macrocmd ();
|
||||
|
@ -283,6 +292,7 @@ initialize_all_files (void)
|
|||
_initialize_mi_cmds ();
|
||||
_initialize_mi_cmd_env ();
|
||||
_initialize_mi_interp ();
|
||||
_initialize_mi_main ();
|
||||
_initialize_tui_hooks ();
|
||||
_initialize_tui_interp ();
|
||||
_initialize_tui_layout ();
|
||||
|
@ -291,4 +301,6 @@ initialize_all_files (void)
|
|||
_initialize_tui_stack ();
|
||||
_initialize_tui_win ();
|
||||
_initialize_python ();
|
||||
_initialize_guile ();
|
||||
_initialize_compile ();
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
/* JIT declarations for GDB, the GNU Debugger.
|
||||
|
||||
Copyright (C) 2011-2014 Free Software Foundation, Inc.
|
||||
Copyright (C) 2011-2015 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GDB.
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
/* GDB Notifications to Observers.
|
||||
|
||||
Copyright (C) 2004-2014 Free Software Foundation, Inc.
|
||||
Copyright (C) 2004-2015 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GDB.
|
||||
|
||||
|
@ -44,6 +44,62 @@ extern struct observer *observer_attach_normal_stop (observer_normal_stop_ftype
|
|||
extern void observer_detach_normal_stop (struct observer *observer);
|
||||
extern void observer_notify_normal_stop (struct bpstats *bs, int print_frame);
|
||||
|
||||
/* signal_received notifications. */
|
||||
|
||||
typedef void (observer_signal_received_ftype) (enum gdb_signal siggnal);
|
||||
|
||||
extern struct observer *observer_attach_signal_received (observer_signal_received_ftype *f);
|
||||
extern void observer_detach_signal_received (struct observer *observer);
|
||||
extern void observer_notify_signal_received (enum gdb_signal siggnal);
|
||||
|
||||
/* end_stepping_range notifications. */
|
||||
|
||||
typedef void (observer_end_stepping_range_ftype) (void);
|
||||
|
||||
extern struct observer *observer_attach_end_stepping_range (observer_end_stepping_range_ftype *f);
|
||||
extern void observer_detach_end_stepping_range (struct observer *observer);
|
||||
extern void observer_notify_end_stepping_range (void);
|
||||
|
||||
/* signal_exited notifications. */
|
||||
|
||||
typedef void (observer_signal_exited_ftype) (enum gdb_signal siggnal);
|
||||
|
||||
extern struct observer *observer_attach_signal_exited (observer_signal_exited_ftype *f);
|
||||
extern void observer_detach_signal_exited (struct observer *observer);
|
||||
extern void observer_notify_signal_exited (enum gdb_signal siggnal);
|
||||
|
||||
/* exited notifications. */
|
||||
|
||||
typedef void (observer_exited_ftype) (int exitstatus);
|
||||
|
||||
extern struct observer *observer_attach_exited (observer_exited_ftype *f);
|
||||
extern void observer_detach_exited (struct observer *observer);
|
||||
extern void observer_notify_exited (int exitstatus);
|
||||
|
||||
/* no_history notifications. */
|
||||
|
||||
typedef void (observer_no_history_ftype) (void);
|
||||
|
||||
extern struct observer *observer_attach_no_history (observer_no_history_ftype *f);
|
||||
extern void observer_detach_no_history (struct observer *observer);
|
||||
extern void observer_notify_no_history (void);
|
||||
|
||||
/* sync_execution_done notifications. */
|
||||
|
||||
typedef void (observer_sync_execution_done_ftype) (void);
|
||||
|
||||
extern struct observer *observer_attach_sync_execution_done (observer_sync_execution_done_ftype *f);
|
||||
extern void observer_detach_sync_execution_done (struct observer *observer);
|
||||
extern void observer_notify_sync_execution_done (void);
|
||||
|
||||
/* command_error notifications. */
|
||||
|
||||
typedef void (observer_command_error_ftype) (void);
|
||||
|
||||
extern struct observer *observer_attach_command_error (observer_command_error_ftype *f);
|
||||
extern void observer_detach_command_error (struct observer *observer);
|
||||
extern void observer_notify_command_error (void);
|
||||
|
||||
/* target_changed notifications. */
|
||||
|
||||
typedef void (observer_target_changed_ftype) (struct target_ops *target);
|
||||
|
@ -284,6 +340,30 @@ extern struct observer *observer_attach_tsv_modified (observer_tsv_modified_ftyp
|
|||
extern void observer_detach_tsv_modified (struct observer *observer);
|
||||
extern void observer_notify_tsv_modified (const struct trace_state_variable *tsv);
|
||||
|
||||
/* inferior_call_pre notifications. */
|
||||
|
||||
typedef void (observer_inferior_call_pre_ftype) (ptid_t thread, CORE_ADDR address);
|
||||
|
||||
extern struct observer *observer_attach_inferior_call_pre (observer_inferior_call_pre_ftype *f);
|
||||
extern void observer_detach_inferior_call_pre (struct observer *observer);
|
||||
extern void observer_notify_inferior_call_pre (ptid_t thread, CORE_ADDR address);
|
||||
|
||||
/* inferior_call_post notifications. */
|
||||
|
||||
typedef void (observer_inferior_call_post_ftype) (ptid_t thread, CORE_ADDR address);
|
||||
|
||||
extern struct observer *observer_attach_inferior_call_post (observer_inferior_call_post_ftype *f);
|
||||
extern void observer_detach_inferior_call_post (struct observer *observer);
|
||||
extern void observer_notify_inferior_call_post (ptid_t thread, CORE_ADDR address);
|
||||
|
||||
/* register_changed notifications. */
|
||||
|
||||
typedef void (observer_register_changed_ftype) (struct frame_info *frame, int regnum);
|
||||
|
||||
extern struct observer *observer_attach_register_changed (observer_register_changed_ftype *f);
|
||||
extern void observer_detach_register_changed (struct observer *observer);
|
||||
extern void observer_notify_register_changed (struct frame_info *frame, int regnum);
|
||||
|
||||
/* test_notification notifications. */
|
||||
|
||||
typedef void (observer_test_notification_ftype) (int somearg);
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
/* GDB Notifications to Observers.
|
||||
|
||||
Copyright (C) 2004-2014 Free Software Foundation, Inc.
|
||||
Copyright (C) 2004-2015 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GDB.
|
||||
|
||||
|
@ -65,6 +65,259 @@ observer_notify_normal_stop (struct bpstats *bs, int print_frame)
|
|||
generic_observer_notify (normal_stop_subject, &args);
|
||||
}
|
||||
|
||||
/* signal_received notifications. */
|
||||
|
||||
static struct observer_list *signal_received_subject = NULL;
|
||||
|
||||
struct signal_received_args { enum gdb_signal siggnal; };
|
||||
|
||||
static void
|
||||
observer_signal_received_notification_stub (const void *data, const void *args_data)
|
||||
{
|
||||
observer_signal_received_ftype *notify = (observer_signal_received_ftype *) data;
|
||||
const struct signal_received_args *args = args_data;
|
||||
notify (args->siggnal);
|
||||
}
|
||||
|
||||
struct observer *
|
||||
observer_attach_signal_received (observer_signal_received_ftype *f)
|
||||
{
|
||||
return generic_observer_attach (&signal_received_subject,
|
||||
&observer_signal_received_notification_stub,
|
||||
(void *) f);
|
||||
}
|
||||
|
||||
void
|
||||
observer_detach_signal_received (struct observer *observer)
|
||||
{
|
||||
generic_observer_detach (&signal_received_subject, observer);
|
||||
}
|
||||
|
||||
void
|
||||
observer_notify_signal_received (enum gdb_signal siggnal)
|
||||
{
|
||||
struct signal_received_args args;
|
||||
args.siggnal = siggnal;
|
||||
|
||||
if (observer_debug)
|
||||
fprintf_unfiltered (gdb_stdlog, "observer_notify_signal_received() called\n");
|
||||
generic_observer_notify (signal_received_subject, &args);
|
||||
}
|
||||
|
||||
/* end_stepping_range notifications. */
|
||||
|
||||
static struct observer_list *end_stepping_range_subject = NULL;
|
||||
|
||||
static void
|
||||
observer_end_stepping_range_notification_stub (const void *data, const void *args_data)
|
||||
{
|
||||
observer_end_stepping_range_ftype *notify = (observer_end_stepping_range_ftype *) data;
|
||||
notify ();
|
||||
}
|
||||
|
||||
struct observer *
|
||||
observer_attach_end_stepping_range (observer_end_stepping_range_ftype *f)
|
||||
{
|
||||
return generic_observer_attach (&end_stepping_range_subject,
|
||||
&observer_end_stepping_range_notification_stub,
|
||||
(void *) f);
|
||||
}
|
||||
|
||||
void
|
||||
observer_detach_end_stepping_range (struct observer *observer)
|
||||
{
|
||||
generic_observer_detach (&end_stepping_range_subject, observer);
|
||||
}
|
||||
|
||||
void
|
||||
observer_notify_end_stepping_range (void)
|
||||
{
|
||||
char *args = NULL;
|
||||
if (observer_debug)
|
||||
fprintf_unfiltered (gdb_stdlog, "observer_notify_end_stepping_range() called\n");
|
||||
generic_observer_notify (end_stepping_range_subject, &args);
|
||||
}
|
||||
|
||||
/* signal_exited notifications. */
|
||||
|
||||
static struct observer_list *signal_exited_subject = NULL;
|
||||
|
||||
struct signal_exited_args { enum gdb_signal siggnal; };
|
||||
|
||||
static void
|
||||
observer_signal_exited_notification_stub (const void *data, const void *args_data)
|
||||
{
|
||||
observer_signal_exited_ftype *notify = (observer_signal_exited_ftype *) data;
|
||||
const struct signal_exited_args *args = args_data;
|
||||
notify (args->siggnal);
|
||||
}
|
||||
|
||||
struct observer *
|
||||
observer_attach_signal_exited (observer_signal_exited_ftype *f)
|
||||
{
|
||||
return generic_observer_attach (&signal_exited_subject,
|
||||
&observer_signal_exited_notification_stub,
|
||||
(void *) f);
|
||||
}
|
||||
|
||||
void
|
||||
observer_detach_signal_exited (struct observer *observer)
|
||||
{
|
||||
generic_observer_detach (&signal_exited_subject, observer);
|
||||
}
|
||||
|
||||
void
|
||||
observer_notify_signal_exited (enum gdb_signal siggnal)
|
||||
{
|
||||
struct signal_exited_args args;
|
||||
args.siggnal = siggnal;
|
||||
|
||||
if (observer_debug)
|
||||
fprintf_unfiltered (gdb_stdlog, "observer_notify_signal_exited() called\n");
|
||||
generic_observer_notify (signal_exited_subject, &args);
|
||||
}
|
||||
|
||||
/* exited notifications. */
|
||||
|
||||
static struct observer_list *exited_subject = NULL;
|
||||
|
||||
struct exited_args { int exitstatus; };
|
||||
|
||||
static void
|
||||
observer_exited_notification_stub (const void *data, const void *args_data)
|
||||
{
|
||||
observer_exited_ftype *notify = (observer_exited_ftype *) data;
|
||||
const struct exited_args *args = args_data;
|
||||
notify (args->exitstatus);
|
||||
}
|
||||
|
||||
struct observer *
|
||||
observer_attach_exited (observer_exited_ftype *f)
|
||||
{
|
||||
return generic_observer_attach (&exited_subject,
|
||||
&observer_exited_notification_stub,
|
||||
(void *) f);
|
||||
}
|
||||
|
||||
void
|
||||
observer_detach_exited (struct observer *observer)
|
||||
{
|
||||
generic_observer_detach (&exited_subject, observer);
|
||||
}
|
||||
|
||||
void
|
||||
observer_notify_exited (int exitstatus)
|
||||
{
|
||||
struct exited_args args;
|
||||
args.exitstatus = exitstatus;
|
||||
|
||||
if (observer_debug)
|
||||
fprintf_unfiltered (gdb_stdlog, "observer_notify_exited() called\n");
|
||||
generic_observer_notify (exited_subject, &args);
|
||||
}
|
||||
|
||||
/* no_history notifications. */
|
||||
|
||||
static struct observer_list *no_history_subject = NULL;
|
||||
|
||||
static void
|
||||
observer_no_history_notification_stub (const void *data, const void *args_data)
|
||||
{
|
||||
observer_no_history_ftype *notify = (observer_no_history_ftype *) data;
|
||||
notify ();
|
||||
}
|
||||
|
||||
struct observer *
|
||||
observer_attach_no_history (observer_no_history_ftype *f)
|
||||
{
|
||||
return generic_observer_attach (&no_history_subject,
|
||||
&observer_no_history_notification_stub,
|
||||
(void *) f);
|
||||
}
|
||||
|
||||
void
|
||||
observer_detach_no_history (struct observer *observer)
|
||||
{
|
||||
generic_observer_detach (&no_history_subject, observer);
|
||||
}
|
||||
|
||||
void
|
||||
observer_notify_no_history (void)
|
||||
{
|
||||
char *args = NULL;
|
||||
if (observer_debug)
|
||||
fprintf_unfiltered (gdb_stdlog, "observer_notify_no_history() called\n");
|
||||
generic_observer_notify (no_history_subject, &args);
|
||||
}
|
||||
|
||||
/* sync_execution_done notifications. */
|
||||
|
||||
static struct observer_list *sync_execution_done_subject = NULL;
|
||||
|
||||
static void
|
||||
observer_sync_execution_done_notification_stub (const void *data, const void *args_data)
|
||||
{
|
||||
observer_sync_execution_done_ftype *notify = (observer_sync_execution_done_ftype *) data;
|
||||
notify ();
|
||||
}
|
||||
|
||||
struct observer *
|
||||
observer_attach_sync_execution_done (observer_sync_execution_done_ftype *f)
|
||||
{
|
||||
return generic_observer_attach (&sync_execution_done_subject,
|
||||
&observer_sync_execution_done_notification_stub,
|
||||
(void *) f);
|
||||
}
|
||||
|
||||
void
|
||||
observer_detach_sync_execution_done (struct observer *observer)
|
||||
{
|
||||
generic_observer_detach (&sync_execution_done_subject, observer);
|
||||
}
|
||||
|
||||
void
|
||||
observer_notify_sync_execution_done (void)
|
||||
{
|
||||
char *args = NULL;
|
||||
if (observer_debug)
|
||||
fprintf_unfiltered (gdb_stdlog, "observer_notify_sync_execution_done() called\n");
|
||||
generic_observer_notify (sync_execution_done_subject, &args);
|
||||
}
|
||||
|
||||
/* command_error notifications. */
|
||||
|
||||
static struct observer_list *command_error_subject = NULL;
|
||||
|
||||
static void
|
||||
observer_command_error_notification_stub (const void *data, const void *args_data)
|
||||
{
|
||||
observer_command_error_ftype *notify = (observer_command_error_ftype *) data;
|
||||
notify ();
|
||||
}
|
||||
|
||||
struct observer *
|
||||
observer_attach_command_error (observer_command_error_ftype *f)
|
||||
{
|
||||
return generic_observer_attach (&command_error_subject,
|
||||
&observer_command_error_notification_stub,
|
||||
(void *) f);
|
||||
}
|
||||
|
||||
void
|
||||
observer_detach_command_error (struct observer *observer)
|
||||
{
|
||||
generic_observer_detach (&command_error_subject, observer);
|
||||
}
|
||||
|
||||
void
|
||||
observer_notify_command_error (void)
|
||||
{
|
||||
char *args = NULL;
|
||||
if (observer_debug)
|
||||
fprintf_unfiltered (gdb_stdlog, "observer_notify_command_error() called\n");
|
||||
generic_observer_notify (command_error_subject, &args);
|
||||
}
|
||||
|
||||
/* target_changed notifications. */
|
||||
|
||||
static struct observer_list *target_changed_subject = NULL;
|
||||
|
@ -1220,6 +1473,123 @@ observer_notify_tsv_modified (const struct trace_state_variable *tsv)
|
|||
generic_observer_notify (tsv_modified_subject, &args);
|
||||
}
|
||||
|
||||
/* inferior_call_pre notifications. */
|
||||
|
||||
static struct observer_list *inferior_call_pre_subject = NULL;
|
||||
|
||||
struct inferior_call_pre_args { ptid_t thread; CORE_ADDR address; };
|
||||
|
||||
static void
|
||||
observer_inferior_call_pre_notification_stub (const void *data, const void *args_data)
|
||||
{
|
||||
observer_inferior_call_pre_ftype *notify = (observer_inferior_call_pre_ftype *) data;
|
||||
const struct inferior_call_pre_args *args = args_data;
|
||||
notify (args->thread, args->address);
|
||||
}
|
||||
|
||||
struct observer *
|
||||
observer_attach_inferior_call_pre (observer_inferior_call_pre_ftype *f)
|
||||
{
|
||||
return generic_observer_attach (&inferior_call_pre_subject,
|
||||
&observer_inferior_call_pre_notification_stub,
|
||||
(void *) f);
|
||||
}
|
||||
|
||||
void
|
||||
observer_detach_inferior_call_pre (struct observer *observer)
|
||||
{
|
||||
generic_observer_detach (&inferior_call_pre_subject, observer);
|
||||
}
|
||||
|
||||
void
|
||||
observer_notify_inferior_call_pre (ptid_t thread, CORE_ADDR address)
|
||||
{
|
||||
struct inferior_call_pre_args args;
|
||||
args.thread = thread, args.address = address;
|
||||
|
||||
if (observer_debug)
|
||||
fprintf_unfiltered (gdb_stdlog, "observer_notify_inferior_call_pre() called\n");
|
||||
generic_observer_notify (inferior_call_pre_subject, &args);
|
||||
}
|
||||
|
||||
/* inferior_call_post notifications. */
|
||||
|
||||
static struct observer_list *inferior_call_post_subject = NULL;
|
||||
|
||||
struct inferior_call_post_args { ptid_t thread; CORE_ADDR address; };
|
||||
|
||||
static void
|
||||
observer_inferior_call_post_notification_stub (const void *data, const void *args_data)
|
||||
{
|
||||
observer_inferior_call_post_ftype *notify = (observer_inferior_call_post_ftype *) data;
|
||||
const struct inferior_call_post_args *args = args_data;
|
||||
notify (args->thread, args->address);
|
||||
}
|
||||
|
||||
struct observer *
|
||||
observer_attach_inferior_call_post (observer_inferior_call_post_ftype *f)
|
||||
{
|
||||
return generic_observer_attach (&inferior_call_post_subject,
|
||||
&observer_inferior_call_post_notification_stub,
|
||||
(void *) f);
|
||||
}
|
||||
|
||||
void
|
||||
observer_detach_inferior_call_post (struct observer *observer)
|
||||
{
|
||||
generic_observer_detach (&inferior_call_post_subject, observer);
|
||||
}
|
||||
|
||||
void
|
||||
observer_notify_inferior_call_post (ptid_t thread, CORE_ADDR address)
|
||||
{
|
||||
struct inferior_call_post_args args;
|
||||
args.thread = thread, args.address = address;
|
||||
|
||||
if (observer_debug)
|
||||
fprintf_unfiltered (gdb_stdlog, "observer_notify_inferior_call_post() called\n");
|
||||
generic_observer_notify (inferior_call_post_subject, &args);
|
||||
}
|
||||
|
||||
/* register_changed notifications. */
|
||||
|
||||
static struct observer_list *register_changed_subject = NULL;
|
||||
|
||||
struct register_changed_args { struct frame_info *frame; int regnum; };
|
||||
|
||||
static void
|
||||
observer_register_changed_notification_stub (const void *data, const void *args_data)
|
||||
{
|
||||
observer_register_changed_ftype *notify = (observer_register_changed_ftype *) data;
|
||||
const struct register_changed_args *args = args_data;
|
||||
notify (args->frame, args->regnum);
|
||||
}
|
||||
|
||||
struct observer *
|
||||
observer_attach_register_changed (observer_register_changed_ftype *f)
|
||||
{
|
||||
return generic_observer_attach (®ister_changed_subject,
|
||||
&observer_register_changed_notification_stub,
|
||||
(void *) f);
|
||||
}
|
||||
|
||||
void
|
||||
observer_detach_register_changed (struct observer *observer)
|
||||
{
|
||||
generic_observer_detach (®ister_changed_subject, observer);
|
||||
}
|
||||
|
||||
void
|
||||
observer_notify_register_changed (struct frame_info *frame, int regnum)
|
||||
{
|
||||
struct register_changed_args args;
|
||||
args.frame = frame, args.regnum = regnum;
|
||||
|
||||
if (observer_debug)
|
||||
fprintf_unfiltered (gdb_stdlog, "observer_notify_register_changed() called\n");
|
||||
generic_observer_notify (register_changed_subject, &args);
|
||||
}
|
||||
|
||||
/* test_notification notifications. */
|
||||
|
||||
static struct observer_list *test_notification_subject = NULL;
|
||||
|
|
|
@ -3,6 +3,6 @@
|
|||
/* Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp */
|
||||
|
||||
#include "version.h"
|
||||
const char version[] = "7.7.1";
|
||||
const char version[] = "7.9.1";
|
||||
const char host_name[] = "i486--netbsdelf";
|
||||
const char target_name[] = "i486--netbsdelf";
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
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', '4', ' ', 'F',
|
||||
'0', '0', '7', '-', '2', '0', '1', '5', ' ', 'F',
|
||||
'r', 'e', 'e', ' ', 'S', 'o', 'f', 't', 'w', 'a',
|
||||
'r', 'e', ' ', 'F', 'o', 'u', 'n', 'd', 'a', 't',
|
||||
'i', 'o', 'n', ',', ' ', 'I', 'n', 'c', '.', '\n',
|
||||
|
@ -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', '4', ' ', 'F',
|
||||
'0', '0', '7', '-', '2', '0', '1', '5', ' ', 'F',
|
||||
'r', 'e', 'e', ' ', 'S', 'o', 'f', 't', 'w', 'a',
|
||||
'r', 'e', ' ', 'F', 'o', 'u', 'n', 'd', 'a', 't',
|
||||
'i', 'o', 'n', ',', ' ', 'I', 'n', 'c', '.', '\n',
|
||||
|
@ -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', '4', ' ', 'F',
|
||||
'0', '0', '7', '-', '2', '0', '1', '5', ' ', 'F',
|
||||
'r', 'e', 'e', ' ', 'S', 'o', 'f', 't', 'w', 'a',
|
||||
'r', 'e', ' ', 'F', 'o', 'u', 'n', 'd', 'a', 't',
|
||||
'i', 'o', 'n', ',', ' ', 'I', 'n', 'c', '.', '\n',
|
||||
|
@ -339,7 +339,7 @@ static const char xml_feature_library_list_dtd[] = {
|
|||
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',
|
||||
'0', '1', '3', '-', '2', '0', '1', '5', ' ', 'F',
|
||||
'r', 'e', 'e', ' ', 'S', 'o', 'f', 't', 'w', 'a',
|
||||
'r', 'e', ' ', 'F', 'o', 'u', 'n', 'd', 'a', 't',
|
||||
'i', 'o', 'n', ',', ' ', 'I', 'n', 'c', '.', '\n',
|
||||
|
@ -426,7 +426,7 @@ static const char xml_feature_library_list_aix_dtd[] = {
|
|||
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', '4', ' ', 'F',
|
||||
'0', '1', '1', '-', '2', '0', '1', '5', ' ', 'F',
|
||||
'r', 'e', 'e', ' ', 'S', 'o', 'f', 't', 'w', 'a',
|
||||
'r', 'e', ' ', 'F', 'o', 'u', 'n', 'd', 'a', 't',
|
||||
'i', 'o', 'n', ',', ' ', 'I', 'n', 'c', '.', '\n',
|
||||
|
@ -509,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', '4', ' ', 'F',
|
||||
'0', '0', '8', '-', '2', '0', '1', '5', ' ', 'F',
|
||||
'r', 'e', 'e', ' ', 'S', 'o', 'f', 't', 'w', 'a',
|
||||
'r', 'e', ' ', 'F', 'o', 'u', 'n', 'd', 'a', 't',
|
||||
'i', 'o', 'n', ',', ' ', 'I', 'n', 'c', '.', '\n',
|
||||
|
@ -570,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', '4', ' ', 'F',
|
||||
'0', '0', '8', '-', '2', '0', '1', '5', ' ', 'F',
|
||||
'r', 'e', 'e', ' ', 'S', 'o', 'f', 't', 'w', 'a',
|
||||
'r', 'e', ' ', 'F', 'o', 'u', 'n', 'd', 'a', 't',
|
||||
'i', 'o', 'n', ',', ' ', 'I', 'n', 'c', '.', '\n',
|
||||
|
@ -622,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', '4', ' ', 'F',
|
||||
'0', '1', '0', '-', '2', '0', '1', '5', ' ', 'F',
|
||||
'r', 'e', 'e', ' ', 'S', 'o', 'f', 't', 'w', 'a',
|
||||
'r', 'e', ' ', 'F', 'o', 'u', 'n', 'd', 'a', 't',
|
||||
'i', 'o', 'n', ',', ' ', 'I', 'n', 'c', '.', '\n',
|
||||
|
@ -696,7 +696,7 @@ static const char xml_feature_traceframe_info_dtd[] = {
|
|||
static const char xml_feature_btrace_dtd[] = {
|
||||
'<', '!', '-', '-', ' ', 'C', 'o', 'p', 'y', 'r',
|
||||
'i', 'g', 'h', 't', ' ', '(', 'C', ')', ' ', '2',
|
||||
'0', '1', '3', '-', '2', '0', '1', '4', ' ', 'F',
|
||||
'0', '1', '3', '-', '2', '0', '1', '5', ' ', 'F',
|
||||
'r', 'e', 'e', ' ', 'S', 'o', 'f', 't', 'w', 'a',
|
||||
'r', 'e', ' ', 'F', 'o', 'u', 'n', 'd', 'a', 't',
|
||||
'i', 'o', 'n', ',', ' ', 'I', 'n', 'c', '.', '\n',
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* This file is automatically generated. DO NOT EDIT! */
|
||||
/* Generated from: NetBSD: mknative-gdb,v 1.5 2011/11/06 19:46:12 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. */
|
||||
|
@ -84,6 +84,22 @@
|
|||
don't. */
|
||||
#define HAVE_DECL_SNPRINTF 1
|
||||
|
||||
/* Define to 1 if you have the declaration of `strtol', and to 0 if you don't.
|
||||
*/
|
||||
#define HAVE_DECL_STRTOL 1
|
||||
|
||||
/* Define to 1 if you have the declaration of `strtoll', and to 0 if you
|
||||
don't. */
|
||||
#define HAVE_DECL_STRTOLL 1
|
||||
|
||||
/* Define to 1 if you have the declaration of `strtoul', and to 0 if you
|
||||
don't. */
|
||||
#define HAVE_DECL_STRTOUL 1
|
||||
|
||||
/* Define to 1 if you have the declaration of `strtoull', and to 0 if you
|
||||
don't. */
|
||||
#define HAVE_DECL_STRTOULL 1
|
||||
|
||||
/* Define to 1 if you have the declaration of `strverscmp', and to 0 if you
|
||||
don't. */
|
||||
#define HAVE_DECL_STRVERSCMP 0
|
||||
|
@ -141,6 +157,9 @@
|
|||
/* Define to 1 if you have the <limits.h> header file. */
|
||||
#define HAVE_LIMITS_H 1
|
||||
|
||||
/* Define if you have the `long long' type. */
|
||||
#define HAVE_LONG_LONG 1
|
||||
|
||||
/* Define to 1 if you have the <machine/hal_sysinfo.h> header file. */
|
||||
/* #undef HAVE_MACHINE_HAL_SYSINFO_H */
|
||||
|
||||
|
@ -169,7 +188,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
|
||||
|
@ -285,9 +304,15 @@
|
|||
/* Define to 1 if you have the `strtol' function. */
|
||||
#define HAVE_STRTOL 1
|
||||
|
||||
/* Define to 1 if you have the `strtoll' function. */
|
||||
#define HAVE_STRTOLL 1
|
||||
|
||||
/* Define to 1 if you have the `strtoul' function. */
|
||||
#define HAVE_STRTOUL 1
|
||||
|
||||
/* Define to 1 if you have the `strtoull' function. */
|
||||
#define HAVE_STRTOULL 1
|
||||
|
||||
/* Define to 1 if you have the `strverscmp' function. */
|
||||
/* #undef HAVE_STRVERSCMP */
|
||||
|
||||
|
@ -444,6 +469,12 @@
|
|||
/* The size of `int', as computed by sizeof. */
|
||||
#define SIZEOF_INT 4
|
||||
|
||||
/* The size of `long', as computed by sizeof. */
|
||||
#define SIZEOF_LONG 4
|
||||
|
||||
/* The size of `long long', as computed by sizeof. */
|
||||
#define SIZEOF_LONG_LONG 8
|
||||
|
||||
/* Define if you know the direction of stack growth for your system; otherwise
|
||||
it will be automatically deduced at run-time. STACK_DIRECTION > 0 => grows
|
||||
toward higher addresses STACK_DIRECTION < 0 => grows toward lower addresses
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
# This file is automatically generated. DO NOT EDIT!
|
||||
# Generated from: NetBSD: mknative-gdb,v 1.5 2011/11/06 19:46:12 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_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
|
||||
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 d-demangle.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 vprintf-support.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 xasprintf.o xatexit.o xexit.o xmalloc.o xmemdup.o xstrdup.o xstrerror.o xstrndup.o xvasprintf.o
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
/* 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. */
|
||||
/* config.in. Generated from configure.ac by autoheader. */
|
||||
|
||||
/* Check that config.h is #included before system headers
|
||||
(this works only for glibc, but that should be enough). */
|
||||
|
@ -36,6 +36,9 @@
|
|||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#define HAVE_MEMORY_H 1
|
||||
|
||||
/* Define if sigsetjmp is available. */
|
||||
#define HAVE_SIGSETJMP 1
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#define HAVE_STDINT_H 1
|
||||
|
||||
|
@ -68,19 +71,19 @@
|
|||
#define PACKAGE_BUGREPORT ""
|
||||
|
||||
/* Define to the full name of this package. */
|
||||
#define PACKAGE_NAME ""
|
||||
#define PACKAGE_NAME "opcodes"
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#define PACKAGE_STRING ""
|
||||
#define PACKAGE_STRING "opcodes 2.25.51"
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#define PACKAGE_TARNAME ""
|
||||
#define PACKAGE_TARNAME "opcodes"
|
||||
|
||||
/* Define to the home page for this package. */
|
||||
#define PACKAGE_URL ""
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#define PACKAGE_VERSION ""
|
||||
#define PACKAGE_VERSION "2.25.51"
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#define STDC_HEADERS 1
|
||||
|
@ -111,7 +114,7 @@
|
|||
|
||||
|
||||
/* Version number of package */
|
||||
#define VERSION "2.24.51"
|
||||
#define VERSION "2.25.51"
|
||||
|
||||
/* Define to 1 if on MINIX. */
|
||||
/* #undef _MINIX */
|
||||
|
|
Loading…
Reference in New Issue