Allow install of binutils and import texinfo
- Enable installing binutils from the base system. - Import texinfo which is required for the binutils tools to be compiled. - Also adapted the fetch rules to correctly generate the gitignore files for gcc, and allow the case of multiple modules in the same directory, as found in gnu/dist. Warning: This patch has an entry in docs/UPDATING Change-Id: Ib781734e8fd7f9c6265fa65d62ba2cf3fccbc5ba
This commit is contained in:
Vendored
+2
-1
@@ -1,6 +1,7 @@
|
||||
# $NetBSD: Makefile,v 1.1 2009/08/18 20:21:58 skrll Exp $
|
||||
|
||||
SUBDIR+= lib .WAIT usr.bin usr.sbin
|
||||
# LSC: NetBSD-specific tools: usr.sbin
|
||||
SUBDIR+= lib .WAIT usr.bin
|
||||
|
||||
# Speedup stubs for some subtrees that don't need to run these rules
|
||||
includes-libexec:
|
||||
|
||||
+308
-34
@@ -11,8 +11,8 @@
|
||||
|
||||
/* Main header file for the bfd library -- portable access to object files.
|
||||
|
||||
Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
|
||||
1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
|
||||
Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
||||
2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
|
||||
Free Software Foundation, Inc.
|
||||
|
||||
Contributed by Cygnus Support.
|
||||
@@ -191,8 +191,8 @@ typedef bfd_vma bfd_uint64_t;
|
||||
|
||||
/* An offset into a file. BFD always uses the largest possible offset
|
||||
based on the build time availability of fseek, fseeko, or fseeko64. */
|
||||
typedef BFD_HOST_64_BIT file_ptr;
|
||||
typedef unsigned BFD_HOST_64_BIT ufile_ptr;
|
||||
typedef long file_ptr;
|
||||
typedef unsigned long ufile_ptr;
|
||||
|
||||
extern void bfd_sprintf_vma (bfd *, char *, bfd_vma);
|
||||
extern void bfd_fprintf_vma (bfd *, void *, bfd_vma);
|
||||
@@ -302,8 +302,8 @@ typedef struct bfd_section *sec_ptr;
|
||||
#define bfd_set_section_userdata(bfd, ptr, val) (((ptr)->userdata = (val)),TRUE)
|
||||
/* Find the address one past the end of SEC. */
|
||||
#define bfd_get_section_limit(bfd, sec) \
|
||||
(((sec)->rawsize ? (sec)->rawsize : (sec)->size) \
|
||||
/ bfd_octets_per_byte (bfd))
|
||||
(((bfd)->direction != write_direction && (sec)->rawsize != 0 \
|
||||
? (sec)->rawsize : (sec)->size) / bfd_octets_per_byte (bfd))
|
||||
|
||||
/* Return TRUE if input section SEC has been discarded. */
|
||||
#define elf_discarded_section(sec) \
|
||||
@@ -443,7 +443,7 @@ extern void bfd_hash_traverse
|
||||
/* Allows the default size of a hash table to be configured. New hash
|
||||
tables allocated using bfd_hash_table_init will be created with
|
||||
this size. */
|
||||
extern void bfd_hash_set_default_size (bfd_size_type);
|
||||
extern unsigned long bfd_hash_set_default_size (unsigned long);
|
||||
|
||||
/* This structure is used to keep track of stabs in sections
|
||||
information while linking. */
|
||||
@@ -563,11 +563,6 @@ void bfd_putl16 (bfd_vma, void *);
|
||||
bfd_uint64_t bfd_get_bits (const void *, int, bfd_boolean);
|
||||
void bfd_put_bits (bfd_uint64_t, void *, int, bfd_boolean);
|
||||
|
||||
extern bfd_boolean bfd_section_already_linked_table_init (void);
|
||||
extern void bfd_section_already_linked_table_free (void);
|
||||
|
||||
/* Externally visible ECOFF routines. */
|
||||
|
||||
#if defined(__STDC__) || defined(ALMOST_STDC)
|
||||
struct ecoff_debug_info;
|
||||
struct ecoff_debug_swap;
|
||||
@@ -575,8 +570,18 @@ struct ecoff_extr;
|
||||
struct bfd_symbol;
|
||||
struct bfd_link_info;
|
||||
struct bfd_link_hash_entry;
|
||||
struct bfd_section_already_linked;
|
||||
struct bfd_elf_version_tree;
|
||||
#endif
|
||||
|
||||
extern bfd_boolean bfd_section_already_linked_table_init (void);
|
||||
extern void bfd_section_already_linked_table_free (void);
|
||||
extern bfd_boolean _bfd_handle_already_linked
|
||||
(struct bfd_section *, struct bfd_section_already_linked *,
|
||||
struct bfd_link_info *);
|
||||
|
||||
/* Externally visible ECOFF routines. */
|
||||
|
||||
extern bfd_vma bfd_ecoff_get_gp_value
|
||||
(bfd * abfd);
|
||||
extern bfd_boolean bfd_ecoff_set_gp_value
|
||||
@@ -651,8 +656,7 @@ extern bfd_boolean bfd_elf_get_bfd_needed_list
|
||||
(bfd *, struct bfd_link_needed_list **);
|
||||
extern bfd_boolean bfd_elf_size_dynamic_sections
|
||||
(bfd *, const char *, const char *, const char *, const char *, const char *,
|
||||
const char * const *, struct bfd_link_info *, struct bfd_section **,
|
||||
struct bfd_elf_version_tree *);
|
||||
const char * const *, struct bfd_link_info *, struct bfd_section **);
|
||||
extern bfd_boolean bfd_elf_size_dynsym_hash_dynstr
|
||||
(bfd *, struct bfd_link_info *);
|
||||
extern void bfd_elf_set_dt_needed_name
|
||||
@@ -880,7 +884,7 @@ extern bfd_boolean bfd_elf32_arm_process_before_allocation
|
||||
|
||||
void bfd_elf32_arm_set_target_relocs
|
||||
(bfd *, struct bfd_link_info *, int, char *, int, int, bfd_arm_vfp11_fix,
|
||||
int, int, int, int);
|
||||
int, int, int, int, int);
|
||||
|
||||
extern bfd_boolean bfd_elf32_arm_get_bfd_for_interworking
|
||||
(bfd *, struct bfd_link_info *);
|
||||
@@ -923,6 +927,10 @@ extern bfd_boolean elf32_arm_build_stubs
|
||||
extern bfd_boolean elf32_arm_fix_exidx_coverage
|
||||
(struct bfd_section **, unsigned int, struct bfd_link_info *, bfd_boolean);
|
||||
|
||||
/* C6x unwind section editing support. */
|
||||
extern bfd_boolean elf32_tic6x_fix_exidx_coverage
|
||||
(struct bfd_section **, unsigned int, struct bfd_link_info *, bfd_boolean);
|
||||
|
||||
/* PowerPC @tls opcode transform/validate. */
|
||||
extern unsigned int _bfd_elf_ppc_at_tls_transform
|
||||
(unsigned int, unsigned int);
|
||||
@@ -1143,7 +1151,8 @@ long bfd_get_mtime (bfd *abfd);
|
||||
file_ptr bfd_get_size (bfd *abfd);
|
||||
|
||||
void *bfd_mmap (bfd *abfd, void *addr, bfd_size_type len,
|
||||
int prot, int flags, file_ptr offset);
|
||||
int prot, int flags, file_ptr offset,
|
||||
void **map_addr, bfd_size_type *map_len);
|
||||
|
||||
/* Extracted from bfdwin.c. */
|
||||
/* Extracted from section.c. */
|
||||
@@ -1324,6 +1333,11 @@ typedef struct bfd_section
|
||||
sections. */
|
||||
#define SEC_COFF_SHARED_LIBRARY 0x4000000
|
||||
|
||||
/* This input section should be copied to output in reverse order
|
||||
as an array of pointers. This is for ELF linker internal use
|
||||
only. */
|
||||
#define SEC_ELF_REVERSE_COPY 0x4000000
|
||||
|
||||
/* This section contains data which may be shared with other
|
||||
executables or shared objects. This is for COFF only. */
|
||||
#define SEC_COFF_SHARED 0x8000000
|
||||
@@ -1508,6 +1522,9 @@ typedef struct bfd_section
|
||||
/* The BFD which owns the section. */
|
||||
bfd *owner;
|
||||
|
||||
/* INPUT_SECTION_FLAGS if specified in the linker script. */
|
||||
struct flag_info *section_flag_info;
|
||||
|
||||
/* A symbol which points at this section only. */
|
||||
struct bfd_symbol *symbol;
|
||||
struct bfd_symbol **symbol_ptr_ptr;
|
||||
@@ -1686,6 +1703,9 @@ extern asection bfd_ind_section;
|
||||
/* target_index, used_by_bfd, constructor_chain, owner, */ \
|
||||
0, NULL, NULL, NULL, \
|
||||
\
|
||||
/* flag_info, */ \
|
||||
NULL, \
|
||||
\
|
||||
/* symbol, symbol_ptr_ptr, */ \
|
||||
(struct bfd_symbol *) SYM, &SEC.symbol, \
|
||||
\
|
||||
@@ -1864,6 +1884,7 @@ enum bfd_architecture
|
||||
#define bfd_mach_mips5 5
|
||||
#define bfd_mach_mips_loongson_2e 3001
|
||||
#define bfd_mach_mips_loongson_2f 3002
|
||||
#define bfd_mach_mips_loongson_3a 3003
|
||||
#define bfd_mach_mips_sb1 12310201 /* octal 'SB', 01 */
|
||||
#define bfd_mach_mips_octeon 6501
|
||||
#define bfd_mach_mips_xlr 887682 /* decimal 'XLR' */
|
||||
@@ -1871,15 +1892,22 @@ enum bfd_architecture
|
||||
#define bfd_mach_mipsisa32r2 33
|
||||
#define bfd_mach_mipsisa64 64
|
||||
#define bfd_mach_mipsisa64r2 65
|
||||
#define bfd_mach_mips_micromips 96
|
||||
bfd_arch_i386, /* Intel 386 */
|
||||
#define bfd_mach_i386_i386 1
|
||||
#define bfd_mach_i386_i8086 2
|
||||
#define bfd_mach_i386_i386_intel_syntax 3
|
||||
#define bfd_mach_x86_64 64
|
||||
#define bfd_mach_x86_64_intel_syntax 65
|
||||
#define bfd_mach_i386_intel_syntax (1 << 0)
|
||||
#define bfd_mach_i386_i8086 (1 << 1)
|
||||
#define bfd_mach_i386_i386 (1 << 2)
|
||||
#define bfd_mach_x86_64 (1 << 3)
|
||||
#define bfd_mach_x64_32 (1 << 4)
|
||||
#define bfd_mach_i386_i386_intel_syntax (bfd_mach_i386_i386 | bfd_mach_i386_intel_syntax)
|
||||
#define bfd_mach_x86_64_intel_syntax (bfd_mach_x86_64 | bfd_mach_i386_intel_syntax)
|
||||
#define bfd_mach_x64_32_intel_syntax (bfd_mach_x64_32 | bfd_mach_i386_intel_syntax)
|
||||
bfd_arch_l1om, /* Intel L1OM */
|
||||
#define bfd_mach_l1om 66
|
||||
#define bfd_mach_l1om_intel_syntax 67
|
||||
#define bfd_mach_l1om (1 << 5)
|
||||
#define bfd_mach_l1om_intel_syntax (bfd_mach_l1om | bfd_mach_i386_intel_syntax)
|
||||
bfd_arch_k1om, /* Intel K1OM */
|
||||
#define bfd_mach_k1om (1 << 6)
|
||||
#define bfd_mach_k1om_intel_syntax (bfd_mach_k1om | bfd_mach_i386_intel_syntax)
|
||||
bfd_arch_we32k, /* AT&T WE32xxx */
|
||||
bfd_arch_tahoe, /* CCI/Harris Tahoe */
|
||||
bfd_arch_i860, /* Intel 860 */
|
||||
@@ -2064,6 +2092,13 @@ enum bfd_architecture
|
||||
#define bfd_mach_avr5 5
|
||||
#define bfd_mach_avr51 51
|
||||
#define bfd_mach_avr6 6
|
||||
#define bfd_mach_avrxmega1 101
|
||||
#define bfd_mach_avrxmega2 102
|
||||
#define bfd_mach_avrxmega3 103
|
||||
#define bfd_mach_avrxmega4 104
|
||||
#define bfd_mach_avrxmega5 105
|
||||
#define bfd_mach_avrxmega6 106
|
||||
#define bfd_mach_avrxmega7 107
|
||||
bfd_arch_bfin, /* ADI Blackfin */
|
||||
#define bfd_mach_bfin 1
|
||||
bfd_arch_cr16, /* National Semiconductor CompactRISC (ie CR16). */
|
||||
@@ -2118,6 +2153,10 @@ enum bfd_architecture
|
||||
bfd_arch_lm32, /* Lattice Mico32 */
|
||||
#define bfd_mach_lm32 1
|
||||
bfd_arch_microblaze,/* Xilinx MicroBlaze. */
|
||||
bfd_arch_tilepro, /* Tilera TILEPro */
|
||||
bfd_arch_tilegx, /* Tilera TILE-Gx */
|
||||
#define bfd_mach_tilepro 1
|
||||
#define bfd_mach_tilegx 1
|
||||
bfd_arch_last
|
||||
};
|
||||
|
||||
@@ -2697,9 +2736,9 @@ between two procedure entry points is < 2^21, or else a hint. */
|
||||
BFD_RELOC_ALPHA_TPREL_LO16,
|
||||
BFD_RELOC_ALPHA_TPREL16,
|
||||
|
||||
/* Bits 27..2 of the relocation address shifted right 2 bits;
|
||||
simple reloc otherwise. */
|
||||
/* The MIPS jump instruction. */
|
||||
BFD_RELOC_MIPS_JMP,
|
||||
BFD_RELOC_MICROMIPS_JMP,
|
||||
|
||||
/* The MIPS16 jump instruction. */
|
||||
BFD_RELOC_MIPS16_JMP,
|
||||
@@ -2747,42 +2786,75 @@ to compensate for the borrow when the low bits are added. */
|
||||
|
||||
/* Relocation against a MIPS literal section. */
|
||||
BFD_RELOC_MIPS_LITERAL,
|
||||
BFD_RELOC_MICROMIPS_LITERAL,
|
||||
|
||||
/* microMIPS PC-relative relocations. */
|
||||
BFD_RELOC_MICROMIPS_7_PCREL_S1,
|
||||
BFD_RELOC_MICROMIPS_10_PCREL_S1,
|
||||
BFD_RELOC_MICROMIPS_16_PCREL_S1,
|
||||
|
||||
/* microMIPS versions of generic BFD relocs. */
|
||||
BFD_RELOC_MICROMIPS_GPREL16,
|
||||
BFD_RELOC_MICROMIPS_HI16,
|
||||
BFD_RELOC_MICROMIPS_HI16_S,
|
||||
BFD_RELOC_MICROMIPS_LO16,
|
||||
|
||||
/* MIPS ELF relocations. */
|
||||
BFD_RELOC_MIPS_GOT16,
|
||||
BFD_RELOC_MICROMIPS_GOT16,
|
||||
BFD_RELOC_MIPS_CALL16,
|
||||
BFD_RELOC_MICROMIPS_CALL16,
|
||||
BFD_RELOC_MIPS_GOT_HI16,
|
||||
BFD_RELOC_MICROMIPS_GOT_HI16,
|
||||
BFD_RELOC_MIPS_GOT_LO16,
|
||||
BFD_RELOC_MICROMIPS_GOT_LO16,
|
||||
BFD_RELOC_MIPS_CALL_HI16,
|
||||
BFD_RELOC_MICROMIPS_CALL_HI16,
|
||||
BFD_RELOC_MIPS_CALL_LO16,
|
||||
BFD_RELOC_MICROMIPS_CALL_LO16,
|
||||
BFD_RELOC_MIPS_SUB,
|
||||
BFD_RELOC_MICROMIPS_SUB,
|
||||
BFD_RELOC_MIPS_GOT_PAGE,
|
||||
BFD_RELOC_MICROMIPS_GOT_PAGE,
|
||||
BFD_RELOC_MIPS_GOT_OFST,
|
||||
BFD_RELOC_MICROMIPS_GOT_OFST,
|
||||
BFD_RELOC_MIPS_GOT_DISP,
|
||||
BFD_RELOC_MICROMIPS_GOT_DISP,
|
||||
BFD_RELOC_MIPS_SHIFT5,
|
||||
BFD_RELOC_MIPS_SHIFT6,
|
||||
BFD_RELOC_MIPS_INSERT_A,
|
||||
BFD_RELOC_MIPS_INSERT_B,
|
||||
BFD_RELOC_MIPS_DELETE,
|
||||
BFD_RELOC_MIPS_HIGHEST,
|
||||
BFD_RELOC_MICROMIPS_HIGHEST,
|
||||
BFD_RELOC_MIPS_HIGHER,
|
||||
BFD_RELOC_MICROMIPS_HIGHER,
|
||||
BFD_RELOC_MIPS_SCN_DISP,
|
||||
BFD_RELOC_MICROMIPS_SCN_DISP,
|
||||
BFD_RELOC_MIPS_REL16,
|
||||
BFD_RELOC_MIPS_RELGOT,
|
||||
BFD_RELOC_MIPS_JALR,
|
||||
BFD_RELOC_MICROMIPS_JALR,
|
||||
BFD_RELOC_MIPS_TLS_DTPMOD32,
|
||||
BFD_RELOC_MIPS_TLS_DTPREL32,
|
||||
BFD_RELOC_MIPS_TLS_DTPMOD64,
|
||||
BFD_RELOC_MIPS_TLS_DTPREL64,
|
||||
BFD_RELOC_MIPS_TLS_GD,
|
||||
BFD_RELOC_MICROMIPS_TLS_GD,
|
||||
BFD_RELOC_MIPS_TLS_LDM,
|
||||
BFD_RELOC_MICROMIPS_TLS_LDM,
|
||||
BFD_RELOC_MIPS_TLS_DTPREL_HI16,
|
||||
BFD_RELOC_MICROMIPS_TLS_DTPREL_HI16,
|
||||
BFD_RELOC_MIPS_TLS_DTPREL_LO16,
|
||||
BFD_RELOC_MICROMIPS_TLS_DTPREL_LO16,
|
||||
BFD_RELOC_MIPS_TLS_GOTTPREL,
|
||||
BFD_RELOC_MICROMIPS_TLS_GOTTPREL,
|
||||
BFD_RELOC_MIPS_TLS_TPREL32,
|
||||
BFD_RELOC_MIPS_TLS_TPREL64,
|
||||
BFD_RELOC_MIPS_TLS_TPREL_HI16,
|
||||
BFD_RELOC_MICROMIPS_TLS_TPREL_HI16,
|
||||
BFD_RELOC_MIPS_TLS_TPREL_LO16,
|
||||
BFD_RELOC_MICROMIPS_TLS_TPREL_LO16,
|
||||
|
||||
|
||||
/* MIPS ELF relocations (VxWorks and PLT extensions). */
|
||||
@@ -3147,6 +3219,12 @@ pc-relative or some form of GOT-indirect relocation. */
|
||||
BFD_RELOC_ARM_TLS_TPOFF32,
|
||||
BFD_RELOC_ARM_TLS_IE32,
|
||||
BFD_RELOC_ARM_TLS_LE32,
|
||||
BFD_RELOC_ARM_TLS_GOTDESC,
|
||||
BFD_RELOC_ARM_TLS_CALL,
|
||||
BFD_RELOC_ARM_THM_TLS_CALL,
|
||||
BFD_RELOC_ARM_TLS_DESCSEQ,
|
||||
BFD_RELOC_ARM_THM_TLS_DESCSEQ,
|
||||
BFD_RELOC_ARM_TLS_DESC,
|
||||
|
||||
/* ARM group relocations. */
|
||||
BFD_RELOC_ARM_ALU_PC_G0_NC,
|
||||
@@ -3181,6 +3259,9 @@ pc-relative or some form of GOT-indirect relocation. */
|
||||
/* Annotation of BX instructions. */
|
||||
BFD_RELOC_ARM_V4BX,
|
||||
|
||||
/* ARM support for STT_GNU_IFUNC. */
|
||||
BFD_RELOC_ARM_IRELATIVE,
|
||||
|
||||
/* These relocs are only used within the ARM assembler. They are not
|
||||
(at present) written to any object files. */
|
||||
BFD_RELOC_ARM_IMMEDIATE,
|
||||
@@ -3759,6 +3840,10 @@ the opcode. */
|
||||
BFD_RELOC_C6000_DSBT_INDEX,
|
||||
BFD_RELOC_C6000_PREL31,
|
||||
BFD_RELOC_C6000_COPY,
|
||||
BFD_RELOC_C6000_JUMP_SLOT,
|
||||
BFD_RELOC_C6000_EHTYPE,
|
||||
BFD_RELOC_C6000_PCR_H16,
|
||||
BFD_RELOC_C6000_PCR_L16,
|
||||
BFD_RELOC_C6000_ALIGN,
|
||||
BFD_RELOC_C6000_FPHEAD,
|
||||
BFD_RELOC_C6000_NOCMP,
|
||||
@@ -3992,9 +4077,12 @@ instructions */
|
||||
BFD_RELOC_RX_GPRELL,
|
||||
BFD_RELOC_RX_SYM,
|
||||
BFD_RELOC_RX_OP_SUBTRACT,
|
||||
BFD_RELOC_RX_OP_NEG,
|
||||
BFD_RELOC_RX_ABS8,
|
||||
BFD_RELOC_RX_ABS16,
|
||||
BFD_RELOC_RX_ABS16_REV,
|
||||
BFD_RELOC_RX_ABS32,
|
||||
BFD_RELOC_RX_ABS32_REV,
|
||||
BFD_RELOC_RX_ABS16U,
|
||||
BFD_RELOC_RX_ABS16UW,
|
||||
BFD_RELOC_RX_ABS16UL,
|
||||
@@ -4768,6 +4856,178 @@ value in a word. The relocation is relative offset from */
|
||||
/* This is used to tell the dynamic linker to copy the value out of
|
||||
the dynamic object into the runtime process image. */
|
||||
BFD_RELOC_MICROBLAZE_COPY,
|
||||
|
||||
/* Tilera TILEPro Relocations. */
|
||||
BFD_RELOC_TILEPRO_COPY,
|
||||
BFD_RELOC_TILEPRO_GLOB_DAT,
|
||||
BFD_RELOC_TILEPRO_JMP_SLOT,
|
||||
BFD_RELOC_TILEPRO_RELATIVE,
|
||||
BFD_RELOC_TILEPRO_BROFF_X1,
|
||||
BFD_RELOC_TILEPRO_JOFFLONG_X1,
|
||||
BFD_RELOC_TILEPRO_JOFFLONG_X1_PLT,
|
||||
BFD_RELOC_TILEPRO_IMM8_X0,
|
||||
BFD_RELOC_TILEPRO_IMM8_Y0,
|
||||
BFD_RELOC_TILEPRO_IMM8_X1,
|
||||
BFD_RELOC_TILEPRO_IMM8_Y1,
|
||||
BFD_RELOC_TILEPRO_DEST_IMM8_X1,
|
||||
BFD_RELOC_TILEPRO_MT_IMM15_X1,
|
||||
BFD_RELOC_TILEPRO_MF_IMM15_X1,
|
||||
BFD_RELOC_TILEPRO_IMM16_X0,
|
||||
BFD_RELOC_TILEPRO_IMM16_X1,
|
||||
BFD_RELOC_TILEPRO_IMM16_X0_LO,
|
||||
BFD_RELOC_TILEPRO_IMM16_X1_LO,
|
||||
BFD_RELOC_TILEPRO_IMM16_X0_HI,
|
||||
BFD_RELOC_TILEPRO_IMM16_X1_HI,
|
||||
BFD_RELOC_TILEPRO_IMM16_X0_HA,
|
||||
BFD_RELOC_TILEPRO_IMM16_X1_HA,
|
||||
BFD_RELOC_TILEPRO_IMM16_X0_PCREL,
|
||||
BFD_RELOC_TILEPRO_IMM16_X1_PCREL,
|
||||
BFD_RELOC_TILEPRO_IMM16_X0_LO_PCREL,
|
||||
BFD_RELOC_TILEPRO_IMM16_X1_LO_PCREL,
|
||||
BFD_RELOC_TILEPRO_IMM16_X0_HI_PCREL,
|
||||
BFD_RELOC_TILEPRO_IMM16_X1_HI_PCREL,
|
||||
BFD_RELOC_TILEPRO_IMM16_X0_HA_PCREL,
|
||||
BFD_RELOC_TILEPRO_IMM16_X1_HA_PCREL,
|
||||
BFD_RELOC_TILEPRO_IMM16_X0_GOT,
|
||||
BFD_RELOC_TILEPRO_IMM16_X1_GOT,
|
||||
BFD_RELOC_TILEPRO_IMM16_X0_GOT_LO,
|
||||
BFD_RELOC_TILEPRO_IMM16_X1_GOT_LO,
|
||||
BFD_RELOC_TILEPRO_IMM16_X0_GOT_HI,
|
||||
BFD_RELOC_TILEPRO_IMM16_X1_GOT_HI,
|
||||
BFD_RELOC_TILEPRO_IMM16_X0_GOT_HA,
|
||||
BFD_RELOC_TILEPRO_IMM16_X1_GOT_HA,
|
||||
BFD_RELOC_TILEPRO_MMSTART_X0,
|
||||
BFD_RELOC_TILEPRO_MMEND_X0,
|
||||
BFD_RELOC_TILEPRO_MMSTART_X1,
|
||||
BFD_RELOC_TILEPRO_MMEND_X1,
|
||||
BFD_RELOC_TILEPRO_SHAMT_X0,
|
||||
BFD_RELOC_TILEPRO_SHAMT_X1,
|
||||
BFD_RELOC_TILEPRO_SHAMT_Y0,
|
||||
BFD_RELOC_TILEPRO_SHAMT_Y1,
|
||||
BFD_RELOC_TILEPRO_IMM16_X0_TLS_GD,
|
||||
BFD_RELOC_TILEPRO_IMM16_X1_TLS_GD,
|
||||
BFD_RELOC_TILEPRO_IMM16_X0_TLS_GD_LO,
|
||||
BFD_RELOC_TILEPRO_IMM16_X1_TLS_GD_LO,
|
||||
BFD_RELOC_TILEPRO_IMM16_X0_TLS_GD_HI,
|
||||
BFD_RELOC_TILEPRO_IMM16_X1_TLS_GD_HI,
|
||||
BFD_RELOC_TILEPRO_IMM16_X0_TLS_GD_HA,
|
||||
BFD_RELOC_TILEPRO_IMM16_X1_TLS_GD_HA,
|
||||
BFD_RELOC_TILEPRO_IMM16_X0_TLS_IE,
|
||||
BFD_RELOC_TILEPRO_IMM16_X1_TLS_IE,
|
||||
BFD_RELOC_TILEPRO_IMM16_X0_TLS_IE_LO,
|
||||
BFD_RELOC_TILEPRO_IMM16_X1_TLS_IE_LO,
|
||||
BFD_RELOC_TILEPRO_IMM16_X0_TLS_IE_HI,
|
||||
BFD_RELOC_TILEPRO_IMM16_X1_TLS_IE_HI,
|
||||
BFD_RELOC_TILEPRO_IMM16_X0_TLS_IE_HA,
|
||||
BFD_RELOC_TILEPRO_IMM16_X1_TLS_IE_HA,
|
||||
BFD_RELOC_TILEPRO_TLS_DTPMOD32,
|
||||
BFD_RELOC_TILEPRO_TLS_DTPOFF32,
|
||||
BFD_RELOC_TILEPRO_TLS_TPOFF32,
|
||||
|
||||
/* Tilera TILE-Gx Relocations. */
|
||||
BFD_RELOC_TILEGX_HW0,
|
||||
BFD_RELOC_TILEGX_HW1,
|
||||
BFD_RELOC_TILEGX_HW2,
|
||||
BFD_RELOC_TILEGX_HW3,
|
||||
BFD_RELOC_TILEGX_HW0_LAST,
|
||||
BFD_RELOC_TILEGX_HW1_LAST,
|
||||
BFD_RELOC_TILEGX_HW2_LAST,
|
||||
BFD_RELOC_TILEGX_COPY,
|
||||
BFD_RELOC_TILEGX_GLOB_DAT,
|
||||
BFD_RELOC_TILEGX_JMP_SLOT,
|
||||
BFD_RELOC_TILEGX_RELATIVE,
|
||||
BFD_RELOC_TILEGX_BROFF_X1,
|
||||
BFD_RELOC_TILEGX_JUMPOFF_X1,
|
||||
BFD_RELOC_TILEGX_JUMPOFF_X1_PLT,
|
||||
BFD_RELOC_TILEGX_IMM8_X0,
|
||||
BFD_RELOC_TILEGX_IMM8_Y0,
|
||||
BFD_RELOC_TILEGX_IMM8_X1,
|
||||
BFD_RELOC_TILEGX_IMM8_Y1,
|
||||
BFD_RELOC_TILEGX_DEST_IMM8_X1,
|
||||
BFD_RELOC_TILEGX_MT_IMM14_X1,
|
||||
BFD_RELOC_TILEGX_MF_IMM14_X1,
|
||||
BFD_RELOC_TILEGX_MMSTART_X0,
|
||||
BFD_RELOC_TILEGX_MMEND_X0,
|
||||
BFD_RELOC_TILEGX_SHAMT_X0,
|
||||
BFD_RELOC_TILEGX_SHAMT_X1,
|
||||
BFD_RELOC_TILEGX_SHAMT_Y0,
|
||||
BFD_RELOC_TILEGX_SHAMT_Y1,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW0,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW0,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW1,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW1,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW2,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW2,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW3,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW3,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW2_LAST,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW2_LAST,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW0_PCREL,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW0_PCREL,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW1_PCREL,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW1_PCREL,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW2_PCREL,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW2_PCREL,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW3_PCREL,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW3_PCREL,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_PCREL,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_PCREL,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_PCREL,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_PCREL,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW2_LAST_PCREL,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW2_LAST_PCREL,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW0_GOT,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW0_GOT,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW1_GOT,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW1_GOT,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW2_GOT,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW2_GOT,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW3_GOT,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW3_GOT,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_GOT,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_GOT,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_GOT,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_GOT,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW2_LAST_GOT,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW2_LAST_GOT,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW0_TLS_GD,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW0_TLS_GD,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW1_TLS_GD,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW1_TLS_GD,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW2_TLS_GD,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW2_TLS_GD,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW3_TLS_GD,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW3_TLS_GD,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_TLS_GD,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_TLS_GD,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_TLS_GD,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_TLS_GD,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW2_LAST_TLS_GD,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW2_LAST_TLS_GD,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW0_TLS_IE,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW0_TLS_IE,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW1_TLS_IE,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW1_TLS_IE,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW2_TLS_IE,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW2_TLS_IE,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW3_TLS_IE,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW3_TLS_IE,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_TLS_IE,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_TLS_IE,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_TLS_IE,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_TLS_IE,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW2_LAST_TLS_IE,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW2_LAST_TLS_IE,
|
||||
BFD_RELOC_TILEGX_TLS_DTPMOD64,
|
||||
BFD_RELOC_TILEGX_TLS_DTPOFF64,
|
||||
BFD_RELOC_TILEGX_TLS_TPOFF64,
|
||||
BFD_RELOC_TILEGX_TLS_DTPMOD32,
|
||||
BFD_RELOC_TILEGX_TLS_DTPOFF32,
|
||||
BFD_RELOC_TILEGX_TLS_TPOFF32,
|
||||
BFD_RELOC_UNUSED };
|
||||
typedef enum bfd_reloc_code_real bfd_reloc_code_real_type;
|
||||
reloc_howto_type *bfd_reloc_type_lookup
|
||||
@@ -5076,11 +5336,6 @@ struct bfd
|
||||
/* This BFD has been created by the linker and doesn't correspond
|
||||
to any input file. */
|
||||
#define BFD_LINKER_CREATED 0x2000
|
||||
/* 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
|
||||
|
||||
|
||||
/* This may be set before writing out a BFD to request that it
|
||||
be written using values for UIDs, GIDs, timestamps, etc. that
|
||||
@@ -5368,6 +5623,9 @@ bfd_boolean bfd_set_private_flags (bfd *abfd, flagword flags);
|
||||
#define bfd_gc_sections(abfd, link_info) \
|
||||
BFD_SEND (abfd, _bfd_gc_sections, (abfd, link_info))
|
||||
|
||||
#define bfd_lookup_section_flags(link_info, flag_info) \
|
||||
BFD_SEND (abfd, _bfd_lookup_section_flags, (link_info, flag_info))
|
||||
|
||||
#define bfd_merge_sections(abfd, link_info) \
|
||||
BFD_SEND (abfd, _bfd_merge_sections, (abfd, link_info))
|
||||
|
||||
@@ -5524,6 +5782,9 @@ enum bfd_endian { BFD_ENDIAN_BIG, BFD_ENDIAN_LITTLE, BFD_ENDIAN_UNKNOWN };
|
||||
/* Forward declaration. */
|
||||
typedef struct bfd_link_info _bfd_link_info;
|
||||
|
||||
/* Forward declaration. */
|
||||
typedef struct flag_info flag_info;
|
||||
|
||||
typedef struct bfd_target
|
||||
{
|
||||
/* Identifies the kind of target, e.g., SunOS4, Ultrix, etc. */
|
||||
@@ -5555,7 +5816,11 @@ typedef struct bfd_target
|
||||
char ar_pad_char;
|
||||
|
||||
/* The maximum number of characters in an archive header. */
|
||||
unsigned short ar_max_namelen;
|
||||
unsigned char ar_max_namelen;
|
||||
|
||||
/* How well this target matches, used to select between various
|
||||
possible targets when more than one target matches. */
|
||||
unsigned char match_priority;
|
||||
|
||||
/* Entries for byte swapping for data. These are different from the
|
||||
other entry points, since they don't take a BFD as the first argument.
|
||||
@@ -5789,6 +6054,7 @@ typedef struct bfd_target
|
||||
NAME##_bfd_final_link, \
|
||||
NAME##_bfd_link_split_section, \
|
||||
NAME##_bfd_gc_sections, \
|
||||
NAME##_bfd_lookup_section_flags, \
|
||||
NAME##_bfd_merge_sections, \
|
||||
NAME##_bfd_is_group_section, \
|
||||
NAME##_bfd_discard_group, \
|
||||
@@ -5833,6 +6099,10 @@ typedef struct bfd_target
|
||||
/* Remove sections that are not referenced from the output. */
|
||||
bfd_boolean (*_bfd_gc_sections) (bfd *, struct bfd_link_info *);
|
||||
|
||||
/* Sets the bitmask of allowed and disallowed section flags. */
|
||||
void (*_bfd_lookup_section_flags) (struct bfd_link_info *,
|
||||
struct flag_info *);
|
||||
|
||||
/* Attempt to merge SEC_MERGE sections. */
|
||||
bfd_boolean (*_bfd_merge_sections) (bfd *, struct bfd_link_info *);
|
||||
|
||||
@@ -5844,8 +6114,8 @@ typedef struct bfd_target
|
||||
|
||||
/* Check if SEC has been already linked during a reloceatable or
|
||||
final link. */
|
||||
void (*_section_already_linked) (bfd *, struct bfd_section *,
|
||||
struct bfd_link_info *);
|
||||
bfd_boolean (*_section_already_linked) (bfd *, asection *,
|
||||
struct bfd_link_info *);
|
||||
|
||||
/* Define a common symbol. */
|
||||
bfd_boolean (*_bfd_define_common_symbol) (bfd *, struct bfd_link_info *,
|
||||
@@ -5914,7 +6184,8 @@ bfd_boolean bfd_link_split_section (bfd *abfd, asection *sec);
|
||||
#define bfd_link_split_section(abfd, sec) \
|
||||
BFD_SEND (abfd, _bfd_link_split_section, (abfd, sec))
|
||||
|
||||
void bfd_section_already_linked (bfd *abfd, asection *sec,
|
||||
bfd_boolean bfd_section_already_linked (bfd *abfd,
|
||||
asection *sec,
|
||||
struct bfd_link_info *info);
|
||||
|
||||
#define bfd_section_already_linked(abfd, sec, info) \
|
||||
@@ -5931,6 +6202,9 @@ struct bfd_elf_version_tree * bfd_find_version_for_sym
|
||||
(struct bfd_elf_version_tree *verdefs,
|
||||
const char *sym_name, bfd_boolean *hide);
|
||||
|
||||
bfd_boolean bfd_hide_sym_by_version
|
||||
(struct bfd_elf_version_tree *verdefs, const char *sym_name);
|
||||
|
||||
/* Extracted from simple.c. */
|
||||
bfd_byte *bfd_simple_get_relocated_section_contents
|
||||
(bfd *abfd, asection *sec, bfd_byte *outbuf, asymbol **symbol_table);
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
/* Generated from: NetBSD: mknative-binutils,v 1.8 2011/09/25 04:00:58 christos Exp */
|
||||
/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp */
|
||||
|
||||
/* generated for arm--netbsdelf-eabi-gcc (NetBSD nb2 20111202) 4.5.3 */
|
||||
/* generated for arm-elf32-minix-gcc (NetBSD nb1 20120916) 4.5.4 */
|
||||
|
||||
#ifndef GCC_GENERATED_STDINT_H
|
||||
#define GCC_GENERATED_STDINT_H 1
|
||||
|
||||
+3
-3
@@ -2,7 +2,7 @@
|
||||
/* Generated from: NetBSD: mknative-binutils,v 1.8 2011/09/25 04:00:58 christos Exp */
|
||||
/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp */
|
||||
|
||||
#define BFD_VERSION_DATE 20110627
|
||||
#define BFD_VERSION 221010000
|
||||
#define BFD_VERSION_STRING "(NetBSD Binutils nb1) " "2.21.1"
|
||||
#define BFD_VERSION_DATE 20111121
|
||||
#define BFD_VERSION 222000000
|
||||
#define BFD_VERSION_STRING "(NetBSD Binutils nb1)" "2.22"
|
||||
#define REPORT_BUGS_TO "<http://www.NetBSD.org/support/send-pr.html>"
|
||||
|
||||
+10
-10
@@ -10,7 +10,7 @@
|
||||
|
||||
/* Define to 1 if translation of program messages to the user's native
|
||||
language is requested. */
|
||||
#define ENABLE_NLS 1
|
||||
/* #undef ENABLE_NLS */
|
||||
|
||||
/* Define to 1 if you have the <alloca.h> header file. */
|
||||
/* #undef HAVE_ALLOCA_H */
|
||||
@@ -132,16 +132,16 @@
|
||||
/* #undef HAVE_LWPXSTATUS_T */
|
||||
|
||||
/* Define to 1 if you have the `madvise' function. */
|
||||
#define HAVE_MADVISE 1
|
||||
/* #undef HAVE_MADVISE */
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#define HAVE_MEMORY_H 1
|
||||
|
||||
/* Define to 1 if you have a working `mmap' system call. */
|
||||
#define HAVE_MMAP 1
|
||||
/* #undef HAVE_MMAP */
|
||||
|
||||
/* Define to 1 if you have the `mprotect' function. */
|
||||
#define HAVE_MPROTECT 1
|
||||
/* #undef HAVE_MPROTECT */
|
||||
|
||||
/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
|
||||
/* #undef HAVE_NDIR_H */
|
||||
@@ -251,7 +251,7 @@
|
||||
/* #undef HAVE_WIN32_PSTATUS_T */
|
||||
|
||||
/* Define to 1 if you have the <zlib.h> header file. */
|
||||
/* #undef HAVE_ZLIB_H */
|
||||
#define HAVE_ZLIB_H 1
|
||||
|
||||
/* Define to the sub-directory in which libtool stores uninstalled libraries.
|
||||
*/
|
||||
@@ -291,7 +291,7 @@
|
||||
#define SIZEOF_LONG_LONG 8
|
||||
|
||||
/* The size of `off_t', as computed by sizeof. */
|
||||
#define SIZEOF_OFF_T 8
|
||||
#define SIZEOF_OFF_T 4
|
||||
|
||||
/* The size of `short', as computed by sizeof. */
|
||||
/* #undef SIZEOF_SHORT */
|
||||
@@ -349,7 +349,7 @@
|
||||
|
||||
|
||||
/* Version number of package */
|
||||
#define VERSION "2.21.1"
|
||||
#define VERSION "2.22"
|
||||
|
||||
/* Number of bits in a file offset, on hosts where this is settable. */
|
||||
/* #undef _FILE_OFFSET_BITS */
|
||||
@@ -358,11 +358,11 @@
|
||||
/* #undef _LARGE_FILES */
|
||||
|
||||
/* Define to 1 if on MINIX. */
|
||||
/* #undef _MINIX */
|
||||
#define _MINIX 1
|
||||
|
||||
/* Define to 2 if the system does not provide POSIX.1 features except with
|
||||
this defined. */
|
||||
/* #undef _POSIX_1_SOURCE */
|
||||
#define _POSIX_1_SOURCE 2
|
||||
|
||||
/* Define to 1 if you need to in order for `stat' and other things to work. */
|
||||
/* #undef _POSIX_SOURCE */
|
||||
#define _POSIX_SOURCE 1
|
||||
|
||||
+3
-3
@@ -2,8 +2,8 @@
|
||||
# Generated from: NetBSD: mknative-binutils,v 1.8 2011/09/25 04:00:58 christos Exp
|
||||
# Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp
|
||||
#
|
||||
G_libbfd_la_DEPENDENCIES=elf32-arm.lo elf32.lo elf-vxworks.lo elf.lo elflink.lo elf-attrs.lo elf-strtab.lo elf-eh-frame.lo dwarf1.lo armnetbsd.lo aout32.lo coff-arm.lo cofflink.lo elf32-gen.lo cpu-arm.lo netbsd-core.lo ofiles
|
||||
G_libbfd_la_DEPENDENCIES=elf32-arm.lo elf32.lo elf-vxworks.lo elf.lo elflink.lo elf-attrs.lo elf-strtab.lo elf-eh-frame.lo dwarf1.lo elf32-gen.lo cpu-arm.lo archive64.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_DEFS=-DHAVE_CONFIG_H
|
||||
G_INCLUDES=-DNETBSD_CORE -I. -I${GNUHOSTDIST}/bfd -I${GNUHOSTDIST}/bfd/../include -DHAVE_bfd_elf32_littlearm_vec -DHAVE_bfd_elf32_bigarm_vec -DHAVE_armnetbsd_vec -DHAVE_armcoff_little_vec -DHAVE_armcoff_big_vec -DHAVE_bfd_elf32_little_generic_vec -DHAVE_bfd_elf32_big_generic_vec -I./../intl
|
||||
G_TDEFAULTS=-DDEFAULT_VECTOR=bfd_elf32_littlearm_vec -DSELECT_VECS='&bfd_elf32_littlearm_vec,&bfd_elf32_bigarm_vec,&armnetbsd_vec,&armcoff_little_vec,&armcoff_big_vec,&bfd_elf32_little_generic_vec,&bfd_elf32_big_generic_vec' -DSELECT_ARCHITECTURES='&bfd_arm_arch'
|
||||
G_INCLUDES=-I. -I${GNUHOSTDIST}/bfd -I${GNUHOSTDIST}/bfd/../include -DHAVE_bfd_elf32_littlearm_vec -DHAVE_bfd_elf32_bigarm_vec -DHAVE_bfd_elf32_little_generic_vec -DHAVE_bfd_elf32_big_generic_vec
|
||||
G_TDEFAULTS=-DDEFAULT_VECTOR=bfd_elf32_littlearm_vec -DSELECT_VECS='&bfd_elf32_littlearm_vec,&bfd_elf32_bigarm_vec,&bfd_elf32_little_generic_vec,&bfd_elf32_big_generic_vec' -DSELECT_ARCHITECTURES='&bfd_arm_arch'
|
||||
|
||||
+308
-34
@@ -11,8 +11,8 @@
|
||||
|
||||
/* Main header file for the bfd library -- portable access to object files.
|
||||
|
||||
Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
|
||||
1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
|
||||
Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
||||
2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
|
||||
Free Software Foundation, Inc.
|
||||
|
||||
Contributed by Cygnus Support.
|
||||
@@ -191,8 +191,8 @@ typedef bfd_vma bfd_uint64_t;
|
||||
|
||||
/* An offset into a file. BFD always uses the largest possible offset
|
||||
based on the build time availability of fseek, fseeko, or fseeko64. */
|
||||
typedef BFD_HOST_64_BIT file_ptr;
|
||||
typedef unsigned BFD_HOST_64_BIT ufile_ptr;
|
||||
typedef long file_ptr;
|
||||
typedef unsigned long ufile_ptr;
|
||||
|
||||
extern void bfd_sprintf_vma (bfd *, char *, bfd_vma);
|
||||
extern void bfd_fprintf_vma (bfd *, void *, bfd_vma);
|
||||
@@ -302,8 +302,8 @@ typedef struct bfd_section *sec_ptr;
|
||||
#define bfd_set_section_userdata(bfd, ptr, val) (((ptr)->userdata = (val)),TRUE)
|
||||
/* Find the address one past the end of SEC. */
|
||||
#define bfd_get_section_limit(bfd, sec) \
|
||||
(((sec)->rawsize ? (sec)->rawsize : (sec)->size) \
|
||||
/ bfd_octets_per_byte (bfd))
|
||||
(((bfd)->direction != write_direction && (sec)->rawsize != 0 \
|
||||
? (sec)->rawsize : (sec)->size) / bfd_octets_per_byte (bfd))
|
||||
|
||||
/* Return TRUE if input section SEC has been discarded. */
|
||||
#define elf_discarded_section(sec) \
|
||||
@@ -443,7 +443,7 @@ extern void bfd_hash_traverse
|
||||
/* Allows the default size of a hash table to be configured. New hash
|
||||
tables allocated using bfd_hash_table_init will be created with
|
||||
this size. */
|
||||
extern void bfd_hash_set_default_size (bfd_size_type);
|
||||
extern unsigned long bfd_hash_set_default_size (unsigned long);
|
||||
|
||||
/* This structure is used to keep track of stabs in sections
|
||||
information while linking. */
|
||||
@@ -563,11 +563,6 @@ void bfd_putl16 (bfd_vma, void *);
|
||||
bfd_uint64_t bfd_get_bits (const void *, int, bfd_boolean);
|
||||
void bfd_put_bits (bfd_uint64_t, void *, int, bfd_boolean);
|
||||
|
||||
extern bfd_boolean bfd_section_already_linked_table_init (void);
|
||||
extern void bfd_section_already_linked_table_free (void);
|
||||
|
||||
/* Externally visible ECOFF routines. */
|
||||
|
||||
#if defined(__STDC__) || defined(ALMOST_STDC)
|
||||
struct ecoff_debug_info;
|
||||
struct ecoff_debug_swap;
|
||||
@@ -575,8 +570,18 @@ struct ecoff_extr;
|
||||
struct bfd_symbol;
|
||||
struct bfd_link_info;
|
||||
struct bfd_link_hash_entry;
|
||||
struct bfd_section_already_linked;
|
||||
struct bfd_elf_version_tree;
|
||||
#endif
|
||||
|
||||
extern bfd_boolean bfd_section_already_linked_table_init (void);
|
||||
extern void bfd_section_already_linked_table_free (void);
|
||||
extern bfd_boolean _bfd_handle_already_linked
|
||||
(struct bfd_section *, struct bfd_section_already_linked *,
|
||||
struct bfd_link_info *);
|
||||
|
||||
/* Externally visible ECOFF routines. */
|
||||
|
||||
extern bfd_vma bfd_ecoff_get_gp_value
|
||||
(bfd * abfd);
|
||||
extern bfd_boolean bfd_ecoff_set_gp_value
|
||||
@@ -651,8 +656,7 @@ extern bfd_boolean bfd_elf_get_bfd_needed_list
|
||||
(bfd *, struct bfd_link_needed_list **);
|
||||
extern bfd_boolean bfd_elf_size_dynamic_sections
|
||||
(bfd *, const char *, const char *, const char *, const char *, const char *,
|
||||
const char * const *, struct bfd_link_info *, struct bfd_section **,
|
||||
struct bfd_elf_version_tree *);
|
||||
const char * const *, struct bfd_link_info *, struct bfd_section **);
|
||||
extern bfd_boolean bfd_elf_size_dynsym_hash_dynstr
|
||||
(bfd *, struct bfd_link_info *);
|
||||
extern void bfd_elf_set_dt_needed_name
|
||||
@@ -880,7 +884,7 @@ extern bfd_boolean bfd_elf32_arm_process_before_allocation
|
||||
|
||||
void bfd_elf32_arm_set_target_relocs
|
||||
(bfd *, struct bfd_link_info *, int, char *, int, int, bfd_arm_vfp11_fix,
|
||||
int, int, int, int);
|
||||
int, int, int, int, int);
|
||||
|
||||
extern bfd_boolean bfd_elf32_arm_get_bfd_for_interworking
|
||||
(bfd *, struct bfd_link_info *);
|
||||
@@ -923,6 +927,10 @@ extern bfd_boolean elf32_arm_build_stubs
|
||||
extern bfd_boolean elf32_arm_fix_exidx_coverage
|
||||
(struct bfd_section **, unsigned int, struct bfd_link_info *, bfd_boolean);
|
||||
|
||||
/* C6x unwind section editing support. */
|
||||
extern bfd_boolean elf32_tic6x_fix_exidx_coverage
|
||||
(struct bfd_section **, unsigned int, struct bfd_link_info *, bfd_boolean);
|
||||
|
||||
/* PowerPC @tls opcode transform/validate. */
|
||||
extern unsigned int _bfd_elf_ppc_at_tls_transform
|
||||
(unsigned int, unsigned int);
|
||||
@@ -1143,7 +1151,8 @@ long bfd_get_mtime (bfd *abfd);
|
||||
file_ptr bfd_get_size (bfd *abfd);
|
||||
|
||||
void *bfd_mmap (bfd *abfd, void *addr, bfd_size_type len,
|
||||
int prot, int flags, file_ptr offset);
|
||||
int prot, int flags, file_ptr offset,
|
||||
void **map_addr, bfd_size_type *map_len);
|
||||
|
||||
/* Extracted from bfdwin.c. */
|
||||
/* Extracted from section.c. */
|
||||
@@ -1324,6 +1333,11 @@ typedef struct bfd_section
|
||||
sections. */
|
||||
#define SEC_COFF_SHARED_LIBRARY 0x4000000
|
||||
|
||||
/* This input section should be copied to output in reverse order
|
||||
as an array of pointers. This is for ELF linker internal use
|
||||
only. */
|
||||
#define SEC_ELF_REVERSE_COPY 0x4000000
|
||||
|
||||
/* This section contains data which may be shared with other
|
||||
executables or shared objects. This is for COFF only. */
|
||||
#define SEC_COFF_SHARED 0x8000000
|
||||
@@ -1508,6 +1522,9 @@ typedef struct bfd_section
|
||||
/* The BFD which owns the section. */
|
||||
bfd *owner;
|
||||
|
||||
/* INPUT_SECTION_FLAGS if specified in the linker script. */
|
||||
struct flag_info *section_flag_info;
|
||||
|
||||
/* A symbol which points at this section only. */
|
||||
struct bfd_symbol *symbol;
|
||||
struct bfd_symbol **symbol_ptr_ptr;
|
||||
@@ -1686,6 +1703,9 @@ extern asection bfd_ind_section;
|
||||
/* target_index, used_by_bfd, constructor_chain, owner, */ \
|
||||
0, NULL, NULL, NULL, \
|
||||
\
|
||||
/* flag_info, */ \
|
||||
NULL, \
|
||||
\
|
||||
/* symbol, symbol_ptr_ptr, */ \
|
||||
(struct bfd_symbol *) SYM, &SEC.symbol, \
|
||||
\
|
||||
@@ -1864,6 +1884,7 @@ enum bfd_architecture
|
||||
#define bfd_mach_mips5 5
|
||||
#define bfd_mach_mips_loongson_2e 3001
|
||||
#define bfd_mach_mips_loongson_2f 3002
|
||||
#define bfd_mach_mips_loongson_3a 3003
|
||||
#define bfd_mach_mips_sb1 12310201 /* octal 'SB', 01 */
|
||||
#define bfd_mach_mips_octeon 6501
|
||||
#define bfd_mach_mips_xlr 887682 /* decimal 'XLR' */
|
||||
@@ -1871,15 +1892,22 @@ enum bfd_architecture
|
||||
#define bfd_mach_mipsisa32r2 33
|
||||
#define bfd_mach_mipsisa64 64
|
||||
#define bfd_mach_mipsisa64r2 65
|
||||
#define bfd_mach_mips_micromips 96
|
||||
bfd_arch_i386, /* Intel 386 */
|
||||
#define bfd_mach_i386_i386 1
|
||||
#define bfd_mach_i386_i8086 2
|
||||
#define bfd_mach_i386_i386_intel_syntax 3
|
||||
#define bfd_mach_x86_64 64
|
||||
#define bfd_mach_x86_64_intel_syntax 65
|
||||
#define bfd_mach_i386_intel_syntax (1 << 0)
|
||||
#define bfd_mach_i386_i8086 (1 << 1)
|
||||
#define bfd_mach_i386_i386 (1 << 2)
|
||||
#define bfd_mach_x86_64 (1 << 3)
|
||||
#define bfd_mach_x64_32 (1 << 4)
|
||||
#define bfd_mach_i386_i386_intel_syntax (bfd_mach_i386_i386 | bfd_mach_i386_intel_syntax)
|
||||
#define bfd_mach_x86_64_intel_syntax (bfd_mach_x86_64 | bfd_mach_i386_intel_syntax)
|
||||
#define bfd_mach_x64_32_intel_syntax (bfd_mach_x64_32 | bfd_mach_i386_intel_syntax)
|
||||
bfd_arch_l1om, /* Intel L1OM */
|
||||
#define bfd_mach_l1om 66
|
||||
#define bfd_mach_l1om_intel_syntax 67
|
||||
#define bfd_mach_l1om (1 << 5)
|
||||
#define bfd_mach_l1om_intel_syntax (bfd_mach_l1om | bfd_mach_i386_intel_syntax)
|
||||
bfd_arch_k1om, /* Intel K1OM */
|
||||
#define bfd_mach_k1om (1 << 6)
|
||||
#define bfd_mach_k1om_intel_syntax (bfd_mach_k1om | bfd_mach_i386_intel_syntax)
|
||||
bfd_arch_we32k, /* AT&T WE32xxx */
|
||||
bfd_arch_tahoe, /* CCI/Harris Tahoe */
|
||||
bfd_arch_i860, /* Intel 860 */
|
||||
@@ -2064,6 +2092,13 @@ enum bfd_architecture
|
||||
#define bfd_mach_avr5 5
|
||||
#define bfd_mach_avr51 51
|
||||
#define bfd_mach_avr6 6
|
||||
#define bfd_mach_avrxmega1 101
|
||||
#define bfd_mach_avrxmega2 102
|
||||
#define bfd_mach_avrxmega3 103
|
||||
#define bfd_mach_avrxmega4 104
|
||||
#define bfd_mach_avrxmega5 105
|
||||
#define bfd_mach_avrxmega6 106
|
||||
#define bfd_mach_avrxmega7 107
|
||||
bfd_arch_bfin, /* ADI Blackfin */
|
||||
#define bfd_mach_bfin 1
|
||||
bfd_arch_cr16, /* National Semiconductor CompactRISC (ie CR16). */
|
||||
@@ -2118,6 +2153,10 @@ enum bfd_architecture
|
||||
bfd_arch_lm32, /* Lattice Mico32 */
|
||||
#define bfd_mach_lm32 1
|
||||
bfd_arch_microblaze,/* Xilinx MicroBlaze. */
|
||||
bfd_arch_tilepro, /* Tilera TILEPro */
|
||||
bfd_arch_tilegx, /* Tilera TILE-Gx */
|
||||
#define bfd_mach_tilepro 1
|
||||
#define bfd_mach_tilegx 1
|
||||
bfd_arch_last
|
||||
};
|
||||
|
||||
@@ -2697,9 +2736,9 @@ between two procedure entry points is < 2^21, or else a hint. */
|
||||
BFD_RELOC_ALPHA_TPREL_LO16,
|
||||
BFD_RELOC_ALPHA_TPREL16,
|
||||
|
||||
/* Bits 27..2 of the relocation address shifted right 2 bits;
|
||||
simple reloc otherwise. */
|
||||
/* The MIPS jump instruction. */
|
||||
BFD_RELOC_MIPS_JMP,
|
||||
BFD_RELOC_MICROMIPS_JMP,
|
||||
|
||||
/* The MIPS16 jump instruction. */
|
||||
BFD_RELOC_MIPS16_JMP,
|
||||
@@ -2747,42 +2786,75 @@ to compensate for the borrow when the low bits are added. */
|
||||
|
||||
/* Relocation against a MIPS literal section. */
|
||||
BFD_RELOC_MIPS_LITERAL,
|
||||
BFD_RELOC_MICROMIPS_LITERAL,
|
||||
|
||||
/* microMIPS PC-relative relocations. */
|
||||
BFD_RELOC_MICROMIPS_7_PCREL_S1,
|
||||
BFD_RELOC_MICROMIPS_10_PCREL_S1,
|
||||
BFD_RELOC_MICROMIPS_16_PCREL_S1,
|
||||
|
||||
/* microMIPS versions of generic BFD relocs. */
|
||||
BFD_RELOC_MICROMIPS_GPREL16,
|
||||
BFD_RELOC_MICROMIPS_HI16,
|
||||
BFD_RELOC_MICROMIPS_HI16_S,
|
||||
BFD_RELOC_MICROMIPS_LO16,
|
||||
|
||||
/* MIPS ELF relocations. */
|
||||
BFD_RELOC_MIPS_GOT16,
|
||||
BFD_RELOC_MICROMIPS_GOT16,
|
||||
BFD_RELOC_MIPS_CALL16,
|
||||
BFD_RELOC_MICROMIPS_CALL16,
|
||||
BFD_RELOC_MIPS_GOT_HI16,
|
||||
BFD_RELOC_MICROMIPS_GOT_HI16,
|
||||
BFD_RELOC_MIPS_GOT_LO16,
|
||||
BFD_RELOC_MICROMIPS_GOT_LO16,
|
||||
BFD_RELOC_MIPS_CALL_HI16,
|
||||
BFD_RELOC_MICROMIPS_CALL_HI16,
|
||||
BFD_RELOC_MIPS_CALL_LO16,
|
||||
BFD_RELOC_MICROMIPS_CALL_LO16,
|
||||
BFD_RELOC_MIPS_SUB,
|
||||
BFD_RELOC_MICROMIPS_SUB,
|
||||
BFD_RELOC_MIPS_GOT_PAGE,
|
||||
BFD_RELOC_MICROMIPS_GOT_PAGE,
|
||||
BFD_RELOC_MIPS_GOT_OFST,
|
||||
BFD_RELOC_MICROMIPS_GOT_OFST,
|
||||
BFD_RELOC_MIPS_GOT_DISP,
|
||||
BFD_RELOC_MICROMIPS_GOT_DISP,
|
||||
BFD_RELOC_MIPS_SHIFT5,
|
||||
BFD_RELOC_MIPS_SHIFT6,
|
||||
BFD_RELOC_MIPS_INSERT_A,
|
||||
BFD_RELOC_MIPS_INSERT_B,
|
||||
BFD_RELOC_MIPS_DELETE,
|
||||
BFD_RELOC_MIPS_HIGHEST,
|
||||
BFD_RELOC_MICROMIPS_HIGHEST,
|
||||
BFD_RELOC_MIPS_HIGHER,
|
||||
BFD_RELOC_MICROMIPS_HIGHER,
|
||||
BFD_RELOC_MIPS_SCN_DISP,
|
||||
BFD_RELOC_MICROMIPS_SCN_DISP,
|
||||
BFD_RELOC_MIPS_REL16,
|
||||
BFD_RELOC_MIPS_RELGOT,
|
||||
BFD_RELOC_MIPS_JALR,
|
||||
BFD_RELOC_MICROMIPS_JALR,
|
||||
BFD_RELOC_MIPS_TLS_DTPMOD32,
|
||||
BFD_RELOC_MIPS_TLS_DTPREL32,
|
||||
BFD_RELOC_MIPS_TLS_DTPMOD64,
|
||||
BFD_RELOC_MIPS_TLS_DTPREL64,
|
||||
BFD_RELOC_MIPS_TLS_GD,
|
||||
BFD_RELOC_MICROMIPS_TLS_GD,
|
||||
BFD_RELOC_MIPS_TLS_LDM,
|
||||
BFD_RELOC_MICROMIPS_TLS_LDM,
|
||||
BFD_RELOC_MIPS_TLS_DTPREL_HI16,
|
||||
BFD_RELOC_MICROMIPS_TLS_DTPREL_HI16,
|
||||
BFD_RELOC_MIPS_TLS_DTPREL_LO16,
|
||||
BFD_RELOC_MICROMIPS_TLS_DTPREL_LO16,
|
||||
BFD_RELOC_MIPS_TLS_GOTTPREL,
|
||||
BFD_RELOC_MICROMIPS_TLS_GOTTPREL,
|
||||
BFD_RELOC_MIPS_TLS_TPREL32,
|
||||
BFD_RELOC_MIPS_TLS_TPREL64,
|
||||
BFD_RELOC_MIPS_TLS_TPREL_HI16,
|
||||
BFD_RELOC_MICROMIPS_TLS_TPREL_HI16,
|
||||
BFD_RELOC_MIPS_TLS_TPREL_LO16,
|
||||
BFD_RELOC_MICROMIPS_TLS_TPREL_LO16,
|
||||
|
||||
|
||||
/* MIPS ELF relocations (VxWorks and PLT extensions). */
|
||||
@@ -3147,6 +3219,12 @@ pc-relative or some form of GOT-indirect relocation. */
|
||||
BFD_RELOC_ARM_TLS_TPOFF32,
|
||||
BFD_RELOC_ARM_TLS_IE32,
|
||||
BFD_RELOC_ARM_TLS_LE32,
|
||||
BFD_RELOC_ARM_TLS_GOTDESC,
|
||||
BFD_RELOC_ARM_TLS_CALL,
|
||||
BFD_RELOC_ARM_THM_TLS_CALL,
|
||||
BFD_RELOC_ARM_TLS_DESCSEQ,
|
||||
BFD_RELOC_ARM_THM_TLS_DESCSEQ,
|
||||
BFD_RELOC_ARM_TLS_DESC,
|
||||
|
||||
/* ARM group relocations. */
|
||||
BFD_RELOC_ARM_ALU_PC_G0_NC,
|
||||
@@ -3181,6 +3259,9 @@ pc-relative or some form of GOT-indirect relocation. */
|
||||
/* Annotation of BX instructions. */
|
||||
BFD_RELOC_ARM_V4BX,
|
||||
|
||||
/* ARM support for STT_GNU_IFUNC. */
|
||||
BFD_RELOC_ARM_IRELATIVE,
|
||||
|
||||
/* These relocs are only used within the ARM assembler. They are not
|
||||
(at present) written to any object files. */
|
||||
BFD_RELOC_ARM_IMMEDIATE,
|
||||
@@ -3759,6 +3840,10 @@ the opcode. */
|
||||
BFD_RELOC_C6000_DSBT_INDEX,
|
||||
BFD_RELOC_C6000_PREL31,
|
||||
BFD_RELOC_C6000_COPY,
|
||||
BFD_RELOC_C6000_JUMP_SLOT,
|
||||
BFD_RELOC_C6000_EHTYPE,
|
||||
BFD_RELOC_C6000_PCR_H16,
|
||||
BFD_RELOC_C6000_PCR_L16,
|
||||
BFD_RELOC_C6000_ALIGN,
|
||||
BFD_RELOC_C6000_FPHEAD,
|
||||
BFD_RELOC_C6000_NOCMP,
|
||||
@@ -3992,9 +4077,12 @@ instructions */
|
||||
BFD_RELOC_RX_GPRELL,
|
||||
BFD_RELOC_RX_SYM,
|
||||
BFD_RELOC_RX_OP_SUBTRACT,
|
||||
BFD_RELOC_RX_OP_NEG,
|
||||
BFD_RELOC_RX_ABS8,
|
||||
BFD_RELOC_RX_ABS16,
|
||||
BFD_RELOC_RX_ABS16_REV,
|
||||
BFD_RELOC_RX_ABS32,
|
||||
BFD_RELOC_RX_ABS32_REV,
|
||||
BFD_RELOC_RX_ABS16U,
|
||||
BFD_RELOC_RX_ABS16UW,
|
||||
BFD_RELOC_RX_ABS16UL,
|
||||
@@ -4768,6 +4856,178 @@ value in a word. The relocation is relative offset from */
|
||||
/* This is used to tell the dynamic linker to copy the value out of
|
||||
the dynamic object into the runtime process image. */
|
||||
BFD_RELOC_MICROBLAZE_COPY,
|
||||
|
||||
/* Tilera TILEPro Relocations. */
|
||||
BFD_RELOC_TILEPRO_COPY,
|
||||
BFD_RELOC_TILEPRO_GLOB_DAT,
|
||||
BFD_RELOC_TILEPRO_JMP_SLOT,
|
||||
BFD_RELOC_TILEPRO_RELATIVE,
|
||||
BFD_RELOC_TILEPRO_BROFF_X1,
|
||||
BFD_RELOC_TILEPRO_JOFFLONG_X1,
|
||||
BFD_RELOC_TILEPRO_JOFFLONG_X1_PLT,
|
||||
BFD_RELOC_TILEPRO_IMM8_X0,
|
||||
BFD_RELOC_TILEPRO_IMM8_Y0,
|
||||
BFD_RELOC_TILEPRO_IMM8_X1,
|
||||
BFD_RELOC_TILEPRO_IMM8_Y1,
|
||||
BFD_RELOC_TILEPRO_DEST_IMM8_X1,
|
||||
BFD_RELOC_TILEPRO_MT_IMM15_X1,
|
||||
BFD_RELOC_TILEPRO_MF_IMM15_X1,
|
||||
BFD_RELOC_TILEPRO_IMM16_X0,
|
||||
BFD_RELOC_TILEPRO_IMM16_X1,
|
||||
BFD_RELOC_TILEPRO_IMM16_X0_LO,
|
||||
BFD_RELOC_TILEPRO_IMM16_X1_LO,
|
||||
BFD_RELOC_TILEPRO_IMM16_X0_HI,
|
||||
BFD_RELOC_TILEPRO_IMM16_X1_HI,
|
||||
BFD_RELOC_TILEPRO_IMM16_X0_HA,
|
||||
BFD_RELOC_TILEPRO_IMM16_X1_HA,
|
||||
BFD_RELOC_TILEPRO_IMM16_X0_PCREL,
|
||||
BFD_RELOC_TILEPRO_IMM16_X1_PCREL,
|
||||
BFD_RELOC_TILEPRO_IMM16_X0_LO_PCREL,
|
||||
BFD_RELOC_TILEPRO_IMM16_X1_LO_PCREL,
|
||||
BFD_RELOC_TILEPRO_IMM16_X0_HI_PCREL,
|
||||
BFD_RELOC_TILEPRO_IMM16_X1_HI_PCREL,
|
||||
BFD_RELOC_TILEPRO_IMM16_X0_HA_PCREL,
|
||||
BFD_RELOC_TILEPRO_IMM16_X1_HA_PCREL,
|
||||
BFD_RELOC_TILEPRO_IMM16_X0_GOT,
|
||||
BFD_RELOC_TILEPRO_IMM16_X1_GOT,
|
||||
BFD_RELOC_TILEPRO_IMM16_X0_GOT_LO,
|
||||
BFD_RELOC_TILEPRO_IMM16_X1_GOT_LO,
|
||||
BFD_RELOC_TILEPRO_IMM16_X0_GOT_HI,
|
||||
BFD_RELOC_TILEPRO_IMM16_X1_GOT_HI,
|
||||
BFD_RELOC_TILEPRO_IMM16_X0_GOT_HA,
|
||||
BFD_RELOC_TILEPRO_IMM16_X1_GOT_HA,
|
||||
BFD_RELOC_TILEPRO_MMSTART_X0,
|
||||
BFD_RELOC_TILEPRO_MMEND_X0,
|
||||
BFD_RELOC_TILEPRO_MMSTART_X1,
|
||||
BFD_RELOC_TILEPRO_MMEND_X1,
|
||||
BFD_RELOC_TILEPRO_SHAMT_X0,
|
||||
BFD_RELOC_TILEPRO_SHAMT_X1,
|
||||
BFD_RELOC_TILEPRO_SHAMT_Y0,
|
||||
BFD_RELOC_TILEPRO_SHAMT_Y1,
|
||||
BFD_RELOC_TILEPRO_IMM16_X0_TLS_GD,
|
||||
BFD_RELOC_TILEPRO_IMM16_X1_TLS_GD,
|
||||
BFD_RELOC_TILEPRO_IMM16_X0_TLS_GD_LO,
|
||||
BFD_RELOC_TILEPRO_IMM16_X1_TLS_GD_LO,
|
||||
BFD_RELOC_TILEPRO_IMM16_X0_TLS_GD_HI,
|
||||
BFD_RELOC_TILEPRO_IMM16_X1_TLS_GD_HI,
|
||||
BFD_RELOC_TILEPRO_IMM16_X0_TLS_GD_HA,
|
||||
BFD_RELOC_TILEPRO_IMM16_X1_TLS_GD_HA,
|
||||
BFD_RELOC_TILEPRO_IMM16_X0_TLS_IE,
|
||||
BFD_RELOC_TILEPRO_IMM16_X1_TLS_IE,
|
||||
BFD_RELOC_TILEPRO_IMM16_X0_TLS_IE_LO,
|
||||
BFD_RELOC_TILEPRO_IMM16_X1_TLS_IE_LO,
|
||||
BFD_RELOC_TILEPRO_IMM16_X0_TLS_IE_HI,
|
||||
BFD_RELOC_TILEPRO_IMM16_X1_TLS_IE_HI,
|
||||
BFD_RELOC_TILEPRO_IMM16_X0_TLS_IE_HA,
|
||||
BFD_RELOC_TILEPRO_IMM16_X1_TLS_IE_HA,
|
||||
BFD_RELOC_TILEPRO_TLS_DTPMOD32,
|
||||
BFD_RELOC_TILEPRO_TLS_DTPOFF32,
|
||||
BFD_RELOC_TILEPRO_TLS_TPOFF32,
|
||||
|
||||
/* Tilera TILE-Gx Relocations. */
|
||||
BFD_RELOC_TILEGX_HW0,
|
||||
BFD_RELOC_TILEGX_HW1,
|
||||
BFD_RELOC_TILEGX_HW2,
|
||||
BFD_RELOC_TILEGX_HW3,
|
||||
BFD_RELOC_TILEGX_HW0_LAST,
|
||||
BFD_RELOC_TILEGX_HW1_LAST,
|
||||
BFD_RELOC_TILEGX_HW2_LAST,
|
||||
BFD_RELOC_TILEGX_COPY,
|
||||
BFD_RELOC_TILEGX_GLOB_DAT,
|
||||
BFD_RELOC_TILEGX_JMP_SLOT,
|
||||
BFD_RELOC_TILEGX_RELATIVE,
|
||||
BFD_RELOC_TILEGX_BROFF_X1,
|
||||
BFD_RELOC_TILEGX_JUMPOFF_X1,
|
||||
BFD_RELOC_TILEGX_JUMPOFF_X1_PLT,
|
||||
BFD_RELOC_TILEGX_IMM8_X0,
|
||||
BFD_RELOC_TILEGX_IMM8_Y0,
|
||||
BFD_RELOC_TILEGX_IMM8_X1,
|
||||
BFD_RELOC_TILEGX_IMM8_Y1,
|
||||
BFD_RELOC_TILEGX_DEST_IMM8_X1,
|
||||
BFD_RELOC_TILEGX_MT_IMM14_X1,
|
||||
BFD_RELOC_TILEGX_MF_IMM14_X1,
|
||||
BFD_RELOC_TILEGX_MMSTART_X0,
|
||||
BFD_RELOC_TILEGX_MMEND_X0,
|
||||
BFD_RELOC_TILEGX_SHAMT_X0,
|
||||
BFD_RELOC_TILEGX_SHAMT_X1,
|
||||
BFD_RELOC_TILEGX_SHAMT_Y0,
|
||||
BFD_RELOC_TILEGX_SHAMT_Y1,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW0,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW0,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW1,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW1,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW2,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW2,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW3,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW3,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW2_LAST,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW2_LAST,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW0_PCREL,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW0_PCREL,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW1_PCREL,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW1_PCREL,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW2_PCREL,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW2_PCREL,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW3_PCREL,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW3_PCREL,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_PCREL,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_PCREL,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_PCREL,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_PCREL,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW2_LAST_PCREL,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW2_LAST_PCREL,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW0_GOT,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW0_GOT,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW1_GOT,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW1_GOT,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW2_GOT,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW2_GOT,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW3_GOT,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW3_GOT,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_GOT,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_GOT,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_GOT,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_GOT,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW2_LAST_GOT,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW2_LAST_GOT,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW0_TLS_GD,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW0_TLS_GD,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW1_TLS_GD,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW1_TLS_GD,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW2_TLS_GD,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW2_TLS_GD,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW3_TLS_GD,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW3_TLS_GD,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_TLS_GD,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_TLS_GD,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_TLS_GD,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_TLS_GD,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW2_LAST_TLS_GD,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW2_LAST_TLS_GD,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW0_TLS_IE,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW0_TLS_IE,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW1_TLS_IE,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW1_TLS_IE,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW2_TLS_IE,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW2_TLS_IE,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW3_TLS_IE,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW3_TLS_IE,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_TLS_IE,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_TLS_IE,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_TLS_IE,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_TLS_IE,
|
||||
BFD_RELOC_TILEGX_IMM16_X0_HW2_LAST_TLS_IE,
|
||||
BFD_RELOC_TILEGX_IMM16_X1_HW2_LAST_TLS_IE,
|
||||
BFD_RELOC_TILEGX_TLS_DTPMOD64,
|
||||
BFD_RELOC_TILEGX_TLS_DTPOFF64,
|
||||
BFD_RELOC_TILEGX_TLS_TPOFF64,
|
||||
BFD_RELOC_TILEGX_TLS_DTPMOD32,
|
||||
BFD_RELOC_TILEGX_TLS_DTPOFF32,
|
||||
BFD_RELOC_TILEGX_TLS_TPOFF32,
|
||||
BFD_RELOC_UNUSED };
|
||||
typedef enum bfd_reloc_code_real bfd_reloc_code_real_type;
|
||||
reloc_howto_type *bfd_reloc_type_lookup
|
||||
@@ -5076,11 +5336,6 @@ struct bfd
|
||||
/* This BFD has been created by the linker and doesn't correspond
|
||||
to any input file. */
|
||||
#define BFD_LINKER_CREATED 0x2000
|
||||
/* 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
|
||||
|
||||
|
||||
/* This may be set before writing out a BFD to request that it
|
||||
be written using values for UIDs, GIDs, timestamps, etc. that
|
||||
@@ -5368,6 +5623,9 @@ bfd_boolean bfd_set_private_flags (bfd *abfd, flagword flags);
|
||||
#define bfd_gc_sections(abfd, link_info) \
|
||||
BFD_SEND (abfd, _bfd_gc_sections, (abfd, link_info))
|
||||
|
||||
#define bfd_lookup_section_flags(link_info, flag_info) \
|
||||
BFD_SEND (abfd, _bfd_lookup_section_flags, (link_info, flag_info))
|
||||
|
||||
#define bfd_merge_sections(abfd, link_info) \
|
||||
BFD_SEND (abfd, _bfd_merge_sections, (abfd, link_info))
|
||||
|
||||
@@ -5524,6 +5782,9 @@ enum bfd_endian { BFD_ENDIAN_BIG, BFD_ENDIAN_LITTLE, BFD_ENDIAN_UNKNOWN };
|
||||
/* Forward declaration. */
|
||||
typedef struct bfd_link_info _bfd_link_info;
|
||||
|
||||
/* Forward declaration. */
|
||||
typedef struct flag_info flag_info;
|
||||
|
||||
typedef struct bfd_target
|
||||
{
|
||||
/* Identifies the kind of target, e.g., SunOS4, Ultrix, etc. */
|
||||
@@ -5555,7 +5816,11 @@ typedef struct bfd_target
|
||||
char ar_pad_char;
|
||||
|
||||
/* The maximum number of characters in an archive header. */
|
||||
unsigned short ar_max_namelen;
|
||||
unsigned char ar_max_namelen;
|
||||
|
||||
/* How well this target matches, used to select between various
|
||||
possible targets when more than one target matches. */
|
||||
unsigned char match_priority;
|
||||
|
||||
/* Entries for byte swapping for data. These are different from the
|
||||
other entry points, since they don't take a BFD as the first argument.
|
||||
@@ -5789,6 +6054,7 @@ typedef struct bfd_target
|
||||
NAME##_bfd_final_link, \
|
||||
NAME##_bfd_link_split_section, \
|
||||
NAME##_bfd_gc_sections, \
|
||||
NAME##_bfd_lookup_section_flags, \
|
||||
NAME##_bfd_merge_sections, \
|
||||
NAME##_bfd_is_group_section, \
|
||||
NAME##_bfd_discard_group, \
|
||||
@@ -5833,6 +6099,10 @@ typedef struct bfd_target
|
||||
/* Remove sections that are not referenced from the output. */
|
||||
bfd_boolean (*_bfd_gc_sections) (bfd *, struct bfd_link_info *);
|
||||
|
||||
/* Sets the bitmask of allowed and disallowed section flags. */
|
||||
void (*_bfd_lookup_section_flags) (struct bfd_link_info *,
|
||||
struct flag_info *);
|
||||
|
||||
/* Attempt to merge SEC_MERGE sections. */
|
||||
bfd_boolean (*_bfd_merge_sections) (bfd *, struct bfd_link_info *);
|
||||
|
||||
@@ -5844,8 +6114,8 @@ typedef struct bfd_target
|
||||
|
||||
/* Check if SEC has been already linked during a reloceatable or
|
||||
final link. */
|
||||
void (*_section_already_linked) (bfd *, struct bfd_section *,
|
||||
struct bfd_link_info *);
|
||||
bfd_boolean (*_section_already_linked) (bfd *, asection *,
|
||||
struct bfd_link_info *);
|
||||
|
||||
/* Define a common symbol. */
|
||||
bfd_boolean (*_bfd_define_common_symbol) (bfd *, struct bfd_link_info *,
|
||||
@@ -5914,7 +6184,8 @@ bfd_boolean bfd_link_split_section (bfd *abfd, asection *sec);
|
||||
#define bfd_link_split_section(abfd, sec) \
|
||||
BFD_SEND (abfd, _bfd_link_split_section, (abfd, sec))
|
||||
|
||||
void bfd_section_already_linked (bfd *abfd, asection *sec,
|
||||
bfd_boolean bfd_section_already_linked (bfd *abfd,
|
||||
asection *sec,
|
||||
struct bfd_link_info *info);
|
||||
|
||||
#define bfd_section_already_linked(abfd, sec, info) \
|
||||
@@ -5931,6 +6202,9 @@ struct bfd_elf_version_tree * bfd_find_version_for_sym
|
||||
(struct bfd_elf_version_tree *verdefs,
|
||||
const char *sym_name, bfd_boolean *hide);
|
||||
|
||||
bfd_boolean bfd_hide_sym_by_version
|
||||
(struct bfd_elf_version_tree *verdefs, const char *sym_name);
|
||||
|
||||
/* Extracted from simple.c. */
|
||||
bfd_byte *bfd_simple_get_relocated_section_contents
|
||||
(bfd *abfd, asection *sec, bfd_byte *outbuf, asymbol **symbol_table);
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
/* Generated from: NetBSD: mknative-binutils,v 1.8 2011/09/25 04:00:58 christos Exp */
|
||||
/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp */
|
||||
|
||||
/* generated for i486--netbsdelf-gcc (NetBSD nb1 20110620) 4.5.3 */
|
||||
/* generated for i586-elf32-minix-gcc (NetBSD nb1 20120916) 4.5.4 */
|
||||
|
||||
#ifndef GCC_GENERATED_STDINT_H
|
||||
#define GCC_GENERATED_STDINT_H 1
|
||||
|
||||
+3
-3
@@ -2,7 +2,7 @@
|
||||
/* Generated from: NetBSD: mknative-binutils,v 1.8 2011/09/25 04:00:58 christos Exp */
|
||||
/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp */
|
||||
|
||||
#define BFD_VERSION_DATE 20110627
|
||||
#define BFD_VERSION 221010000
|
||||
#define BFD_VERSION_STRING "(NetBSD Binutils nb1) " "2.21.1"
|
||||
#define BFD_VERSION_DATE 20111121
|
||||
#define BFD_VERSION 222000000
|
||||
#define BFD_VERSION_STRING "(NetBSD Binutils nb1)" "2.22"
|
||||
#define REPORT_BUGS_TO "<http://www.NetBSD.org/support/send-pr.html>"
|
||||
|
||||
+12
-12
@@ -10,7 +10,7 @@
|
||||
|
||||
/* Define to 1 if translation of program messages to the user's native
|
||||
language is requested. */
|
||||
#define ENABLE_NLS 1
|
||||
/* #undef ENABLE_NLS */
|
||||
|
||||
/* Define to 1 if you have the <alloca.h> header file. */
|
||||
/* #undef HAVE_ALLOCA_H */
|
||||
@@ -132,16 +132,16 @@
|
||||
/* #undef HAVE_LWPXSTATUS_T */
|
||||
|
||||
/* Define to 1 if you have the `madvise' function. */
|
||||
#define HAVE_MADVISE 1
|
||||
/* #undef HAVE_MADVISE */
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#define HAVE_MEMORY_H 1
|
||||
|
||||
/* Define to 1 if you have a working `mmap' system call. */
|
||||
#define HAVE_MMAP 1
|
||||
/* #undef HAVE_MMAP */
|
||||
|
||||
/* Define to 1 if you have the `mprotect' function. */
|
||||
#define HAVE_MPROTECT 1
|
||||
/* #undef HAVE_MPROTECT */
|
||||
|
||||
/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
|
||||
/* #undef HAVE_NDIR_H */
|
||||
@@ -153,7 +153,7 @@
|
||||
/* #undef HAVE_PRPSINFO32_T_PR_PID */
|
||||
|
||||
/* Define if <sys/procfs.h> has prpsinfo_t. */
|
||||
/* #undef HAVE_PRPSINFO_T */
|
||||
#define HAVE_PRPSINFO_T 1
|
||||
|
||||
/* Define if <sys/procfs.h> has prpsinfo_t.pr_pid. */
|
||||
/* #undef HAVE_PRPSINFO_T_PR_PID */
|
||||
@@ -165,7 +165,7 @@
|
||||
/* #undef HAVE_PRSTATUS32_T_PR_WHO */
|
||||
|
||||
/* Define if <sys/procfs.h> has prstatus_t. */
|
||||
/* #undef HAVE_PRSTATUS_T */
|
||||
#define HAVE_PRSTATUS_T 1
|
||||
|
||||
/* Define if <sys/procfs.h> has prstatus_t.pr_who. */
|
||||
/* #undef HAVE_PRSTATUS_T_PR_WHO */
|
||||
@@ -230,7 +230,7 @@
|
||||
/* #undef HAVE_SYS_NDIR_H */
|
||||
|
||||
/* Define to 1 if you have the <sys/procfs.h> header file. */
|
||||
/* #undef HAVE_SYS_PROCFS_H */
|
||||
#define HAVE_SYS_PROCFS_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#define HAVE_SYS_STAT_H 1
|
||||
@@ -291,7 +291,7 @@
|
||||
#define SIZEOF_LONG_LONG 8
|
||||
|
||||
/* The size of `off_t', as computed by sizeof. */
|
||||
#define SIZEOF_OFF_T 8
|
||||
#define SIZEOF_OFF_T 4
|
||||
|
||||
/* The size of `short', as computed by sizeof. */
|
||||
/* #undef SIZEOF_SHORT */
|
||||
@@ -349,7 +349,7 @@
|
||||
|
||||
|
||||
/* Version number of package */
|
||||
#define VERSION "2.21.1"
|
||||
#define VERSION "2.22"
|
||||
|
||||
/* Number of bits in a file offset, on hosts where this is settable. */
|
||||
/* #undef _FILE_OFFSET_BITS */
|
||||
@@ -358,11 +358,11 @@
|
||||
/* #undef _LARGE_FILES */
|
||||
|
||||
/* Define to 1 if on MINIX. */
|
||||
/* #undef _MINIX */
|
||||
#define _MINIX 1
|
||||
|
||||
/* Define to 2 if the system does not provide POSIX.1 features except with
|
||||
this defined. */
|
||||
/* #undef _POSIX_1_SOURCE */
|
||||
#define _POSIX_1_SOURCE 2
|
||||
|
||||
/* Define to 1 if you need to in order for `stat' and other things to work. */
|
||||
/* #undef _POSIX_SOURCE */
|
||||
#define _POSIX_SOURCE 1
|
||||
|
||||
+3
-3
@@ -2,8 +2,8 @@
|
||||
# Generated from: NetBSD: mknative-binutils,v 1.8 2011/09/25 04:00:58 christos Exp
|
||||
# Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp
|
||||
#
|
||||
G_libbfd_la_DEPENDENCIES=elf32-i386.lo elf-ifunc.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_DEPENDENCIES=elf32-i386.lo elf-ifunc.lo elf-vxworks.lo elf32.lo elf.lo elflink.lo elf-attrs.lo elf-strtab.lo elf-eh-frame.lo dwarf1.lo elf32-gen.lo cpu-i386.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_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=-I. -I${GNUHOSTDIST}/bfd -I${GNUHOSTDIST}/bfd/../include -DHAVE_bfd_elf32_i386_minix_vec -DHAVE_bfd_elf32_little_generic_vec -DHAVE_bfd_elf32_big_generic_vec
|
||||
G_TDEFAULTS=-DDEFAULT_VECTOR=bfd_elf32_i386_minix_vec -DSELECT_VECS='&bfd_elf32_i386_minix_vec,&bfd_elf32_little_generic_vec,&bfd_elf32_big_generic_vec' -DSELECT_ARCHITECTURES='&bfd_i386_arch'
|
||||
|
||||
+19
-13
@@ -97,7 +97,7 @@
|
||||
#define HAVE_DECL_VSNPRINTF 1
|
||||
|
||||
/* Define to 1 if you have the `dup3' function. */
|
||||
#define HAVE_DUP3 1
|
||||
/* #undef HAVE_DUP3 */
|
||||
|
||||
/* Define to 1 if you have the <fcntl.h> header file. */
|
||||
#define HAVE_FCNTL_H 1
|
||||
@@ -114,8 +114,11 @@
|
||||
/* Define to 1 if you have the `getpagesize' function. */
|
||||
#define HAVE_GETPAGESIZE 1
|
||||
|
||||
/* Define to 1 if you have the `getrlimit' function. */
|
||||
#define HAVE_GETRLIMIT 1
|
||||
|
||||
/* Define to 1 if you have the `getrusage' function. */
|
||||
#define HAVE_GETRUSAGE 1
|
||||
/* #undef HAVE_GETRUSAGE */
|
||||
|
||||
/* Define to 1 if you have the `getsysinfo' function. */
|
||||
/* #undef HAVE_GETSYSINFO */
|
||||
@@ -174,9 +177,6 @@
|
||||
/* Define to 1 if you have the `on_exit' function. */
|
||||
/* #undef HAVE_ON_EXIT */
|
||||
|
||||
/* Define if you have prctl PR_SET_NAME */
|
||||
/* #undef HAVE_PRCTL_SET_NAME */
|
||||
|
||||
/* Define to 1 if you have the <process.h> header file. */
|
||||
/* #undef HAVE_PROCESS_H */
|
||||
|
||||
@@ -211,10 +211,13 @@
|
||||
#define HAVE_SETENV 1
|
||||
|
||||
/* Define to 1 if you have the `setproctitle' function. */
|
||||
#define HAVE_SETPROCTITLE 1
|
||||
/* #undef HAVE_SETPROCTITLE */
|
||||
|
||||
/* Define to 1 if you have the `setrlimit' function. */
|
||||
/* #undef HAVE_SETRLIMIT */
|
||||
|
||||
/* Define to 1 if you have the `sigsetmask' function. */
|
||||
#define HAVE_SIGSETMASK 1
|
||||
/* #undef HAVE_SIGSETMASK */
|
||||
|
||||
/* Define to 1 if you have the `snprintf' function. */
|
||||
#define HAVE_SNPRINTF 1
|
||||
@@ -289,13 +292,13 @@
|
||||
#define HAVE_SYSCONF 1
|
||||
|
||||
/* Define to 1 if you have the `sysctl' function. */
|
||||
#define HAVE_SYSCTL 1
|
||||
/* #undef HAVE_SYSCTL */
|
||||
|
||||
/* Define to 1 if you have the `sysmp' function. */
|
||||
/* #undef HAVE_SYSMP */
|
||||
|
||||
/* Define if you have the sys_errlist variable. */
|
||||
#define HAVE_SYS_ERRLIST 1
|
||||
/* #undef HAVE_SYS_ERRLIST */
|
||||
|
||||
/* Define to 1 if you have the <sys/file.h> header file. */
|
||||
#define HAVE_SYS_FILE_H 1
|
||||
@@ -304,11 +307,14 @@
|
||||
#define HAVE_SYS_MMAN_H 1
|
||||
|
||||
/* Define if you have the sys_nerr variable. */
|
||||
#define HAVE_SYS_NERR 1
|
||||
/* #undef HAVE_SYS_NERR */
|
||||
|
||||
/* Define to 1 if you have the <sys/param.h> header file. */
|
||||
#define HAVE_SYS_PARAM_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/prctl.h> header file. */
|
||||
/* #undef HAVE_SYS_PRCTL_H */
|
||||
|
||||
/* Define to 1 if you have the <sys/pstat.h> header file. */
|
||||
/* #undef HAVE_SYS_PSTAT_H */
|
||||
|
||||
@@ -316,7 +322,7 @@
|
||||
#define HAVE_SYS_RESOURCE_H 1
|
||||
|
||||
/* Define if you have the sys_siglist variable. */
|
||||
#define HAVE_SYS_SIGLIST 1
|
||||
/* #undef HAVE_SYS_SIGLIST */
|
||||
|
||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#define HAVE_SYS_STAT_H 1
|
||||
@@ -382,10 +388,10 @@
|
||||
#define HAVE_VSPRINTF 1
|
||||
|
||||
/* Define to 1 if you have the `wait3' function. */
|
||||
#define HAVE_WAIT3 1
|
||||
/* #undef HAVE_WAIT3 */
|
||||
|
||||
/* Define to 1 if you have the `wait4' function. */
|
||||
#define HAVE_WAIT4 1
|
||||
/* #undef HAVE_WAIT4 */
|
||||
|
||||
/* Define to 1 if you have the `waitpid' function. */
|
||||
#define HAVE_WAITPID 1
|
||||
|
||||
+19
-13
@@ -97,7 +97,7 @@
|
||||
#define HAVE_DECL_VSNPRINTF 1
|
||||
|
||||
/* Define to 1 if you have the `dup3' function. */
|
||||
#define HAVE_DUP3 1
|
||||
/* #undef HAVE_DUP3 */
|
||||
|
||||
/* Define to 1 if you have the <fcntl.h> header file. */
|
||||
#define HAVE_FCNTL_H 1
|
||||
@@ -114,8 +114,11 @@
|
||||
/* Define to 1 if you have the `getpagesize' function. */
|
||||
#define HAVE_GETPAGESIZE 1
|
||||
|
||||
/* Define to 1 if you have the `getrlimit' function. */
|
||||
#define HAVE_GETRLIMIT 1
|
||||
|
||||
/* Define to 1 if you have the `getrusage' function. */
|
||||
#define HAVE_GETRUSAGE 1
|
||||
/* #undef HAVE_GETRUSAGE */
|
||||
|
||||
/* Define to 1 if you have the `getsysinfo' function. */
|
||||
/* #undef HAVE_GETSYSINFO */
|
||||
@@ -174,9 +177,6 @@
|
||||
/* Define to 1 if you have the `on_exit' function. */
|
||||
/* #undef HAVE_ON_EXIT */
|
||||
|
||||
/* Define if you have prctl PR_SET_NAME */
|
||||
/* #undef HAVE_PRCTL_SET_NAME */
|
||||
|
||||
/* Define to 1 if you have the <process.h> header file. */
|
||||
/* #undef HAVE_PROCESS_H */
|
||||
|
||||
@@ -211,10 +211,13 @@
|
||||
#define HAVE_SETENV 1
|
||||
|
||||
/* Define to 1 if you have the `setproctitle' function. */
|
||||
#define HAVE_SETPROCTITLE 1
|
||||
/* #undef HAVE_SETPROCTITLE */
|
||||
|
||||
/* Define to 1 if you have the `setrlimit' function. */
|
||||
/* #undef HAVE_SETRLIMIT */
|
||||
|
||||
/* Define to 1 if you have the `sigsetmask' function. */
|
||||
#define HAVE_SIGSETMASK 1
|
||||
/* #undef HAVE_SIGSETMASK */
|
||||
|
||||
/* Define to 1 if you have the `snprintf' function. */
|
||||
#define HAVE_SNPRINTF 1
|
||||
@@ -289,13 +292,13 @@
|
||||
#define HAVE_SYSCONF 1
|
||||
|
||||
/* Define to 1 if you have the `sysctl' function. */
|
||||
#define HAVE_SYSCTL 1
|
||||
/* #undef HAVE_SYSCTL */
|
||||
|
||||
/* Define to 1 if you have the `sysmp' function. */
|
||||
/* #undef HAVE_SYSMP */
|
||||
|
||||
/* Define if you have the sys_errlist variable. */
|
||||
#define HAVE_SYS_ERRLIST 1
|
||||
/* #undef HAVE_SYS_ERRLIST */
|
||||
|
||||
/* Define to 1 if you have the <sys/file.h> header file. */
|
||||
#define HAVE_SYS_FILE_H 1
|
||||
@@ -304,11 +307,14 @@
|
||||
#define HAVE_SYS_MMAN_H 1
|
||||
|
||||
/* Define if you have the sys_nerr variable. */
|
||||
#define HAVE_SYS_NERR 1
|
||||
/* #undef HAVE_SYS_NERR */
|
||||
|
||||
/* Define to 1 if you have the <sys/param.h> header file. */
|
||||
#define HAVE_SYS_PARAM_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/prctl.h> header file. */
|
||||
/* #undef HAVE_SYS_PRCTL_H */
|
||||
|
||||
/* Define to 1 if you have the <sys/pstat.h> header file. */
|
||||
/* #undef HAVE_SYS_PSTAT_H */
|
||||
|
||||
@@ -316,7 +322,7 @@
|
||||
#define HAVE_SYS_RESOURCE_H 1
|
||||
|
||||
/* Define if you have the sys_siglist variable. */
|
||||
#define HAVE_SYS_SIGLIST 1
|
||||
/* #undef HAVE_SYS_SIGLIST */
|
||||
|
||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#define HAVE_SYS_STAT_H 1
|
||||
@@ -382,10 +388,10 @@
|
||||
#define HAVE_VSPRINTF 1
|
||||
|
||||
/* Define to 1 if you have the `wait3' function. */
|
||||
#define HAVE_WAIT3 1
|
||||
/* #undef HAVE_WAIT3 */
|
||||
|
||||
/* Define to 1 if you have the `wait4' function. */
|
||||
#define HAVE_WAIT4 1
|
||||
/* #undef HAVE_WAIT4 */
|
||||
|
||||
/* Define to 1 if you have the `waitpid' function. */
|
||||
#define HAVE_WAITPID 1
|
||||
|
||||
+2
-2
@@ -4,5 +4,5 @@
|
||||
#
|
||||
G_ALLOCA=
|
||||
G_EXTRA_OFILES=
|
||||
G_LIBOBJS=mempcpy.o mkstemps.o strverscmp.o strncmp.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 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 sort.o spaces.o splay-tree.o strerror.o strsignal.o unlink-if-ordinary.o xatexit.o xexit.o xmalloc.o xmemdup.o xstrdup.o xstrerror.o xstrndup.o
|
||||
G_LIBOBJS=mempcpy.o mkstemps.o sigsetmask.o strverscmp.o setproctitle.o strncmp.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 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 sort.o spaces.o splay-tree.o strerror.o strsignal.o unlink-if-ordinary.o xatexit.o xexit.o xmalloc.o xmemdup.o xstrdup.o xstrerror.o xstrndup.o
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
/* Define to 1 if translation of program messages to the user's native
|
||||
language is requested. */
|
||||
#define ENABLE_NLS 1
|
||||
/* #undef ENABLE_NLS */
|
||||
|
||||
/* Define to 1 if you have the declaration of `basename', and to 0 if you
|
||||
don't. */
|
||||
@@ -101,14 +101,14 @@
|
||||
|
||||
|
||||
/* Version number of package */
|
||||
#define VERSION "2.21.1"
|
||||
#define VERSION "2.22"
|
||||
|
||||
/* Define to 1 if on MINIX. */
|
||||
/* #undef _MINIX */
|
||||
#define _MINIX 1
|
||||
|
||||
/* Define to 2 if the system does not provide POSIX.1 features except with
|
||||
this defined. */
|
||||
/* #undef _POSIX_1_SOURCE */
|
||||
#define _POSIX_1_SOURCE 2
|
||||
|
||||
/* Define to 1 if you need to in order for `stat' and other things to work. */
|
||||
/* #undef _POSIX_SOURCE */
|
||||
#define _POSIX_SOURCE 1
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
/* Define to 1 if translation of program messages to the user's native
|
||||
language is requested. */
|
||||
#define ENABLE_NLS 1
|
||||
/* #undef ENABLE_NLS */
|
||||
|
||||
/* Define to 1 if you have the declaration of `basename', and to 0 if you
|
||||
don't. */
|
||||
@@ -101,14 +101,14 @@
|
||||
|
||||
|
||||
/* Version number of package */
|
||||
#define VERSION "2.21.1"
|
||||
#define VERSION "2.22"
|
||||
|
||||
/* Define to 1 if on MINIX. */
|
||||
/* #undef _MINIX */
|
||||
#define _MINIX 1
|
||||
|
||||
/* Define to 2 if the system does not provide POSIX.1 features except with
|
||||
this defined. */
|
||||
/* #undef _POSIX_1_SOURCE */
|
||||
#define _POSIX_1_SOURCE 2
|
||||
|
||||
/* Define to 1 if you need to in order for `stat' and other things to work. */
|
||||
/* #undef _POSIX_SOURCE */
|
||||
#define _POSIX_SOURCE 1
|
||||
|
||||
+3
-2
@@ -133,11 +133,12 @@ diff -rNU3 dist.nbsd/gas/configure dist/gas/configure
|
||||
diff -rNU3 dist.nbsd/gas/configure.tgt dist/gas/configure.tgt
|
||||
--- dist.nbsd/gas/configure.tgt 2013-04-08 23:50:58.000000000 +0200
|
||||
+++ dist/gas/configure.tgt 2013-04-09 00:31:05.000000000 +0200
|
||||
@@ -426,6 +426,7 @@
|
||||
@@ -426,6 +426,8 @@
|
||||
*-*-elf | *-*-sysv4*) fmt=elf ;;
|
||||
*-*-solaris*) fmt=elf em=solaris ;;
|
||||
*-*-aros*) fmt=elf em=linux ;;
|
||||
+ *-*-minix*) fmt=elf em=minix ;;
|
||||
+ i*-*-minix*) fmt=elf em=minix ;;
|
||||
+ arm*-*-minix*) fmt=elf em=armeabi ;;
|
||||
*-*-vxworks* | *-*-windiss) fmt=elf em=vxworks ;;
|
||||
*-*-netware) fmt=elf em=netware ;;
|
||||
esac
|
||||
|
||||
+5
@@ -16,6 +16,11 @@ CPPFLAGS+= ${GNUCPPFLAGS:M-D*:N-DLOCALEDIR*} ${GNUCPPFLAGS:M-I*:N-I.*} \
|
||||
LDADD+=-lz
|
||||
DPADD+=${LIBZ}
|
||||
|
||||
.if defined(__MINIX)
|
||||
LDADD+= -lm
|
||||
DPADD+= ${LIBM}
|
||||
.endif
|
||||
|
||||
NOGCCERROR= # defined
|
||||
|
||||
.endif # __MAKEFILE_INC_INCLUDED__
|
||||
|
||||
@@ -20,8 +20,10 @@ MAN= ${G_man_MANS:M${PROG}.1}
|
||||
|
||||
CPPFLAGS+= -I${.CURDIR}/../common/arch/${MACHINE_ARCH}
|
||||
|
||||
.if !defined(__MINIX)
|
||||
LDADD+= -lintl
|
||||
DPADD+= ${LIBINTL}
|
||||
.endif # !defined(__MINIX)
|
||||
|
||||
.if !empty(G_${BUPROG}_DEPENDENCIES:M*/libopcodes*)
|
||||
OPCODESOBJ!= cd ${TOP}/${BFDSUBDIR}/libopcodes && ${PRINTOBJDIR}
|
||||
|
||||
+10
-10
@@ -15,13 +15,13 @@
|
||||
|
||||
/* Define to 1 if translation of program messages to the user's native
|
||||
language is requested. */
|
||||
#define ENABLE_NLS 1
|
||||
/* #undef ENABLE_NLS */
|
||||
|
||||
/* Suffix used for executables, if any. */
|
||||
#define EXECUTABLE_SUFFIX ""
|
||||
|
||||
/* Define to 1 if you have `alloca', as a function or macro. */
|
||||
#define HAVE_ALLOCA 1
|
||||
/* #undef HAVE_ALLOCA */
|
||||
|
||||
/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
|
||||
*/
|
||||
@@ -145,10 +145,10 @@
|
||||
#define HAVE_UNISTD_H 1
|
||||
|
||||
/* Define to 1 if you have the `utimes' function. */
|
||||
#define HAVE_UTIMES 1
|
||||
/* #undef HAVE_UTIMES */
|
||||
|
||||
/* Define to 1 if you have the <zlib.h> header file. */
|
||||
/* #undef HAVE_ZLIB_H */
|
||||
#define HAVE_ZLIB_H 1
|
||||
|
||||
/* Define as const if the declaration of iconv() needs const. */
|
||||
#define ICONV_CONST const
|
||||
@@ -190,7 +190,7 @@
|
||||
#define STDC_HEADERS 1
|
||||
|
||||
/* Configured target name. */
|
||||
#define TARGET "arm--netbsdelf-eabi"
|
||||
#define TARGET "arm-elf32-minix"
|
||||
|
||||
/* Define to 1 if user symbol names have a leading underscore, 0 if not. */
|
||||
#define TARGET_PREPENDS_UNDERSCORE 0
|
||||
@@ -221,11 +221,11 @@
|
||||
|
||||
|
||||
/* Version number of package */
|
||||
#define VERSION "2.21.1"
|
||||
#define VERSION "2.22"
|
||||
|
||||
/* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
|
||||
`char[]'. */
|
||||
/* #undef YYTEXT_POINTER */
|
||||
#define YYTEXT_POINTER 1
|
||||
|
||||
/* Number of bits in a file offset, on hosts where this is settable. */
|
||||
/* #undef _FILE_OFFSET_BITS */
|
||||
@@ -234,11 +234,11 @@
|
||||
/* #undef _LARGE_FILES */
|
||||
|
||||
/* Define to 1 if on MINIX. */
|
||||
/* #undef _MINIX */
|
||||
#define _MINIX 1
|
||||
|
||||
/* Define to 2 if the system does not provide POSIX.1 features except with
|
||||
this defined. */
|
||||
/* #undef _POSIX_1_SOURCE */
|
||||
#define _POSIX_1_SOURCE 2
|
||||
|
||||
/* Define to 1 if you need to in order for `stat' and other things to work. */
|
||||
/* #undef _POSIX_SOURCE */
|
||||
#define _POSIX_SOURCE 1
|
||||
|
||||
+14
-14
@@ -2,35 +2,35 @@
|
||||
# Generated from: NetBSD: mknative-binutils,v 1.8 2011/09/25 04:00:58 christos Exp
|
||||
# Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp
|
||||
#
|
||||
G_VERSION=2.21.1
|
||||
G_VERSION=2.22
|
||||
G_DEFS=-DHAVE_CONFIG_H
|
||||
G_INCLUDES=
|
||||
G_PROGRAMS=size objdump ar strings ranlib objcopy addr2line readelf elfedit nm-new strip-new cxxfilt
|
||||
G_man_MANS=addr2line.1 ar.1 dlltool.1 nlmconv.1 nm.1 objcopy.1 objdump.1 ranlib.1 readelf.1 size.1 strings.1 strip.1 elfedit.1 windres.1 windmc.1 c++filt.1
|
||||
G_TEXINFOS=binutils.texi
|
||||
G_PKGVERSION=(NetBSD Binutils nb1)
|
||||
G_PKGVERSION=(NetBSD Binutils nb1)
|
||||
G_REPORT_BUGS_TEXI=@uref{http://www.NetBSD.org/support/send-pr.html}
|
||||
G_size_OBJECTS=size.o bucomm.o version.o filemode.o
|
||||
G_size_DEPENDENCIES=./../intl/libintl.a ../libiberty/libiberty.a ../bfd/libbfd.la
|
||||
G_size_DEPENDENCIES= ../libiberty/libiberty.a ../bfd/libbfd.la
|
||||
G_objdump_OBJECTS=objdump.o dwarf.o prdbg.o rddbg.o debug.o stabs.o ieee.o rdcoff.o bucomm.o version.o filemode.o elfcomm.o
|
||||
G_objdump_DEPENDENCIES=./../intl/libintl.a ../libiberty/libiberty.a ../bfd/libbfd.la ../opcodes/libopcodes.la
|
||||
G_objdump_DEPENDENCIES= ../libiberty/libiberty.a ../bfd/libbfd.la ../opcodes/libopcodes.la
|
||||
G_ar_OBJECTS=arparse.o arlex.o ar.o not-ranlib.o arsup.o rename.o binemul.o emul_vanilla.o bucomm.o version.o filemode.o
|
||||
G_ar_DEPENDENCIES=./../intl/libintl.a ../libiberty/libiberty.a ../bfd/libbfd.la
|
||||
G_ar_DEPENDENCIES= ../libiberty/libiberty.a ../bfd/libbfd.la
|
||||
G_strings_OBJECTS=strings.o bucomm.o version.o filemode.o
|
||||
G_strings_DEPENDENCIES=./../intl/libintl.a ../libiberty/libiberty.a ../bfd/libbfd.la
|
||||
G_strings_DEPENDENCIES= ../libiberty/libiberty.a ../bfd/libbfd.la
|
||||
G_ranlib_OBJECTS=ar.o is-ranlib.o arparse.o arlex.o arsup.o rename.o binemul.o emul_vanilla.o bucomm.o version.o filemode.o
|
||||
G_ranlib_DEPENDENCIES=./../intl/libintl.a ../libiberty/libiberty.a ../bfd/libbfd.la
|
||||
G_ranlib_DEPENDENCIES= ../libiberty/libiberty.a ../bfd/libbfd.la
|
||||
G_objcopy_OBJECTS=objcopy.o not-strip.o rename.o rddbg.o debug.o stabs.o ieee.o rdcoff.o wrstabs.o bucomm.o version.o filemode.o
|
||||
G_objcopy_DEPENDENCIES=./../intl/libintl.a ../libiberty/libiberty.a ../bfd/libbfd.la
|
||||
G_objcopy_DEPENDENCIES= ../libiberty/libiberty.a ../bfd/libbfd.la
|
||||
G_addr2line_OBJECTS=addr2line.o bucomm.o version.o filemode.o
|
||||
G_addr2line_DEPENDENCIES=./../intl/libintl.a ../libiberty/libiberty.a ../bfd/libbfd.la
|
||||
G_addr2line_DEPENDENCIES= ../libiberty/libiberty.a ../bfd/libbfd.la
|
||||
G_readelf_OBJECTS=readelf.o version.o unwind-ia64.o dwarf.o elfcomm.o
|
||||
G_readelf_DEPENDENCIES=./../intl/libintl.a ../libiberty/libiberty.a
|
||||
G_readelf_DEPENDENCIES= ../libiberty/libiberty.a
|
||||
G_elfedit_OBJECTS=elfedit.o version.o elfcomm.o
|
||||
G_elfedit_DEPENDENCIES=./../intl/libintl.a ../libiberty/libiberty.a
|
||||
G_elfedit_DEPENDENCIES= ../libiberty/libiberty.a
|
||||
G_nm_new_OBJECTS=nm.o bucomm.o version.o filemode.o
|
||||
G_nm_new_DEPENDENCIES=./../intl/libintl.a ../libiberty/libiberty.a ../bfd/libbfd.la
|
||||
G_nm_new_DEPENDENCIES= ../libiberty/libiberty.a ../bfd/libbfd.la
|
||||
G_strip_new_OBJECTS=objcopy.o is-strip.o rename.o rddbg.o debug.o stabs.o ieee.o rdcoff.o wrstabs.o bucomm.o version.o filemode.o
|
||||
G_strip_new_DEPENDENCIES=./../intl/libintl.a ../libiberty/libiberty.a ../bfd/libbfd.la
|
||||
G_strip_new_DEPENDENCIES= ../libiberty/libiberty.a ../bfd/libbfd.la
|
||||
G_cxxfilt_OBJECTS=cxxfilt.o bucomm.o version.o filemode.o
|
||||
G_cxxfilt_DEPENDENCIES=./../intl/libintl.a ../libiberty/libiberty.a ../bfd/libbfd.la
|
||||
G_cxxfilt_DEPENDENCIES= ../libiberty/libiberty.a ../bfd/libbfd.la
|
||||
|
||||
@@ -15,13 +15,13 @@
|
||||
|
||||
/* Define to 1 if translation of program messages to the user's native
|
||||
language is requested. */
|
||||
#define ENABLE_NLS 1
|
||||
/* #undef ENABLE_NLS */
|
||||
|
||||
/* Suffix used for executables, if any. */
|
||||
#define EXECUTABLE_SUFFIX ""
|
||||
|
||||
/* Define to 1 if you have `alloca', as a function or macro. */
|
||||
#define HAVE_ALLOCA 1
|
||||
/* #undef HAVE_ALLOCA */
|
||||
|
||||
/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
|
||||
*/
|
||||
@@ -145,7 +145,7 @@
|
||||
#define HAVE_UNISTD_H 1
|
||||
|
||||
/* Define to 1 if you have the `utimes' function. */
|
||||
#define HAVE_UTIMES 1
|
||||
/* #undef HAVE_UTIMES */
|
||||
|
||||
/* Define to 1 if you have the <zlib.h> header file. */
|
||||
#define HAVE_ZLIB_H 1
|
||||
@@ -190,7 +190,7 @@
|
||||
#define STDC_HEADERS 1
|
||||
|
||||
/* Configured target name. */
|
||||
#define TARGET "i486--netbsdelf"
|
||||
#define TARGET "i586-elf32-minix"
|
||||
|
||||
/* Define to 1 if user symbol names have a leading underscore, 0 if not. */
|
||||
#define TARGET_PREPENDS_UNDERSCORE 0
|
||||
@@ -221,7 +221,7 @@
|
||||
|
||||
|
||||
/* Version number of package */
|
||||
#define VERSION "2.21.1"
|
||||
#define VERSION "2.22"
|
||||
|
||||
/* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
|
||||
`char[]'. */
|
||||
@@ -234,11 +234,11 @@
|
||||
/* #undef _LARGE_FILES */
|
||||
|
||||
/* Define to 1 if on MINIX. */
|
||||
/* #undef _MINIX */
|
||||
#define _MINIX 1
|
||||
|
||||
/* Define to 2 if the system does not provide POSIX.1 features except with
|
||||
this defined. */
|
||||
/* #undef _POSIX_1_SOURCE */
|
||||
#define _POSIX_1_SOURCE 2
|
||||
|
||||
/* Define to 1 if you need to in order for `stat' and other things to work. */
|
||||
/* #undef _POSIX_SOURCE */
|
||||
#define _POSIX_SOURCE 1
|
||||
|
||||
+14
-14
@@ -2,35 +2,35 @@
|
||||
# Generated from: NetBSD: mknative-binutils,v 1.8 2011/09/25 04:00:58 christos Exp
|
||||
# Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp
|
||||
#
|
||||
G_VERSION=2.21.1
|
||||
G_VERSION=2.22
|
||||
G_DEFS=-DHAVE_CONFIG_H
|
||||
G_INCLUDES=
|
||||
G_PROGRAMS=size objdump ar strings ranlib objcopy addr2line readelf elfedit nm-new strip-new cxxfilt
|
||||
G_man_MANS=addr2line.1 ar.1 dlltool.1 nlmconv.1 nm.1 objcopy.1 objdump.1 ranlib.1 readelf.1 size.1 strings.1 strip.1 elfedit.1 windres.1 windmc.1 c++filt.1
|
||||
G_TEXINFOS=binutils.texi
|
||||
G_PKGVERSION=(NetBSD Binutils nb1)
|
||||
G_PKGVERSION=(NetBSD Binutils nb1)
|
||||
G_REPORT_BUGS_TEXI=@uref{http://www.NetBSD.org/support/send-pr.html}
|
||||
G_size_OBJECTS=size.o bucomm.o version.o filemode.o
|
||||
G_size_DEPENDENCIES=./../intl/libintl.a ../libiberty/libiberty.a ../bfd/libbfd.la
|
||||
G_size_DEPENDENCIES= ../libiberty/libiberty.a ../bfd/libbfd.la
|
||||
G_objdump_OBJECTS=objdump.o dwarf.o prdbg.o rddbg.o debug.o stabs.o ieee.o rdcoff.o bucomm.o version.o filemode.o elfcomm.o
|
||||
G_objdump_DEPENDENCIES=./../intl/libintl.a ../libiberty/libiberty.a ../bfd/libbfd.la ../opcodes/libopcodes.la
|
||||
G_objdump_DEPENDENCIES= ../libiberty/libiberty.a ../bfd/libbfd.la ../opcodes/libopcodes.la
|
||||
G_ar_OBJECTS=arparse.o arlex.o ar.o not-ranlib.o arsup.o rename.o binemul.o emul_vanilla.o bucomm.o version.o filemode.o
|
||||
G_ar_DEPENDENCIES=./../intl/libintl.a ../libiberty/libiberty.a ../bfd/libbfd.la
|
||||
G_ar_DEPENDENCIES= ../libiberty/libiberty.a ../bfd/libbfd.la
|
||||
G_strings_OBJECTS=strings.o bucomm.o version.o filemode.o
|
||||
G_strings_DEPENDENCIES=./../intl/libintl.a ../libiberty/libiberty.a ../bfd/libbfd.la
|
||||
G_strings_DEPENDENCIES= ../libiberty/libiberty.a ../bfd/libbfd.la
|
||||
G_ranlib_OBJECTS=ar.o is-ranlib.o arparse.o arlex.o arsup.o rename.o binemul.o emul_vanilla.o bucomm.o version.o filemode.o
|
||||
G_ranlib_DEPENDENCIES=./../intl/libintl.a ../libiberty/libiberty.a ../bfd/libbfd.la
|
||||
G_ranlib_DEPENDENCIES= ../libiberty/libiberty.a ../bfd/libbfd.la
|
||||
G_objcopy_OBJECTS=objcopy.o not-strip.o rename.o rddbg.o debug.o stabs.o ieee.o rdcoff.o wrstabs.o bucomm.o version.o filemode.o
|
||||
G_objcopy_DEPENDENCIES=./../intl/libintl.a ../libiberty/libiberty.a ../bfd/libbfd.la
|
||||
G_objcopy_DEPENDENCIES= ../libiberty/libiberty.a ../bfd/libbfd.la
|
||||
G_addr2line_OBJECTS=addr2line.o bucomm.o version.o filemode.o
|
||||
G_addr2line_DEPENDENCIES=./../intl/libintl.a ../libiberty/libiberty.a ../bfd/libbfd.la
|
||||
G_addr2line_DEPENDENCIES= ../libiberty/libiberty.a ../bfd/libbfd.la
|
||||
G_readelf_OBJECTS=readelf.o version.o unwind-ia64.o dwarf.o elfcomm.o
|
||||
G_readelf_DEPENDENCIES=./../intl/libintl.a ../libiberty/libiberty.a
|
||||
G_readelf_DEPENDENCIES= ../libiberty/libiberty.a
|
||||
G_elfedit_OBJECTS=elfedit.o version.o elfcomm.o
|
||||
G_elfedit_DEPENDENCIES=./../intl/libintl.a ../libiberty/libiberty.a
|
||||
G_elfedit_DEPENDENCIES= ../libiberty/libiberty.a
|
||||
G_nm_new_OBJECTS=nm.o bucomm.o version.o filemode.o
|
||||
G_nm_new_DEPENDENCIES=./../intl/libintl.a ../libiberty/libiberty.a ../bfd/libbfd.la
|
||||
G_nm_new_DEPENDENCIES= ../libiberty/libiberty.a ../bfd/libbfd.la
|
||||
G_strip_new_OBJECTS=objcopy.o is-strip.o rename.o rddbg.o debug.o stabs.o ieee.o rdcoff.o wrstabs.o bucomm.o version.o filemode.o
|
||||
G_strip_new_DEPENDENCIES=./../intl/libintl.a ../libiberty/libiberty.a ../bfd/libbfd.la
|
||||
G_strip_new_DEPENDENCIES= ../libiberty/libiberty.a ../bfd/libbfd.la
|
||||
G_cxxfilt_OBJECTS=cxxfilt.o bucomm.o version.o filemode.o
|
||||
G_cxxfilt_DEPENDENCIES=./../intl/libintl.a ../libiberty/libiberty.a ../bfd/libbfd.la
|
||||
G_cxxfilt_DEPENDENCIES= ../libiberty/libiberty.a ../bfd/libbfd.la
|
||||
|
||||
+2
@@ -24,8 +24,10 @@ CPPFLAGS+= -I${.CURDIR}/arch/${MACHINE_ARCH}
|
||||
CPPFLAGS+= -I${DIST}/gas -I${DIST}/gas/config
|
||||
CPPFLAGS+= -I${DIST}
|
||||
|
||||
.if !defined(__MINIX)
|
||||
LDADD= -lintl
|
||||
DPADD= ${LIBINTL}
|
||||
.endif # !defined(__MINIX)
|
||||
|
||||
OPCODESOBJ!= cd ${TOP}/${BFDSUBDIR}/libopcodes && ${PRINTOBJDIR}
|
||||
LDADD+= -L${OPCODESOBJ} -lopcodes
|
||||
|
||||
+13
-13
@@ -42,10 +42,10 @@
|
||||
|
||||
/* Define to 1 if translation of program messages to the user's native
|
||||
language is requested. */
|
||||
#define ENABLE_NLS 1
|
||||
/* #undef ENABLE_NLS */
|
||||
|
||||
/* Define to 1 if you have `alloca', as a function or macro. */
|
||||
#define HAVE_ALLOCA 1
|
||||
/* #undef HAVE_ALLOCA */
|
||||
|
||||
/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
|
||||
*/
|
||||
@@ -120,7 +120,7 @@
|
||||
#define HAVE_UNLINK 1
|
||||
|
||||
/* Define to 1 if you have the <zlib.h> header file. */
|
||||
/* #undef HAVE_ZLIB_H */
|
||||
#define HAVE_ZLIB_H 1
|
||||
|
||||
/* Using i386 COFF? */
|
||||
/* #undef I386COFF */
|
||||
@@ -225,19 +225,19 @@
|
||||
/* #undef STRICTCOFF */
|
||||
|
||||
/* Target alias. */
|
||||
#define TARGET_ALIAS "arm--netbsdelf-eabi"
|
||||
#define TARGET_ALIAS "arm-elf32-minix"
|
||||
|
||||
/* Define as 1 if big endian. */
|
||||
#define TARGET_BYTES_BIG_ENDIAN 0
|
||||
/* #undef TARGET_BYTES_BIG_ENDIAN */
|
||||
|
||||
/* Canonical target. */
|
||||
#define TARGET_CANONICAL "arm--netbsdelf-eabi"
|
||||
#define TARGET_CANONICAL "arm-elf32-minix"
|
||||
|
||||
/* Target CPU. */
|
||||
#define TARGET_CPU "arm"
|
||||
|
||||
/* Target OS. */
|
||||
#define TARGET_OS "netbsdelf-eabi"
|
||||
#define TARGET_OS "minix"
|
||||
|
||||
/* Define if default target is PowerPC Solaris. */
|
||||
/* #undef TARGET_SOLARIS_COMMENT */
|
||||
@@ -246,7 +246,7 @@
|
||||
/* #undef TARGET_SYMBIAN */
|
||||
|
||||
/* Target vendor. */
|
||||
#define TARGET_VENDOR ""
|
||||
#define TARGET_VENDOR "elf32"
|
||||
|
||||
/* Use b modifier when opening binary files? */
|
||||
/* #undef USE_BINARY_FOPEN */
|
||||
@@ -283,7 +283,7 @@
|
||||
/* #undef USING_CGEN */
|
||||
|
||||
/* Version number of package */
|
||||
#define VERSION "2.21.1"
|
||||
#define VERSION "2.22"
|
||||
|
||||
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
|
||||
significant byte first (like Motorola and SPARC, unlike Intel). */
|
||||
@@ -299,7 +299,7 @@
|
||||
|
||||
/* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
|
||||
`char[]'. */
|
||||
/* #undef YYTEXT_POINTER */
|
||||
#define YYTEXT_POINTER 1
|
||||
|
||||
/* Number of bits in a file offset, on hosts where this is settable. */
|
||||
/* #undef _FILE_OFFSET_BITS */
|
||||
@@ -308,14 +308,14 @@
|
||||
/* #undef _LARGE_FILES */
|
||||
|
||||
/* Define to 1 if on MINIX. */
|
||||
/* #undef _MINIX */
|
||||
#define _MINIX 1
|
||||
|
||||
/* Define to 2 if the system does not provide POSIX.1 features except with
|
||||
this defined. */
|
||||
/* #undef _POSIX_1_SOURCE */
|
||||
#define _POSIX_1_SOURCE 2
|
||||
|
||||
/* Define to 1 if you need to in order for `stat' and other things to work. */
|
||||
/* #undef _POSIX_SOURCE */
|
||||
#define _POSIX_SOURCE 1
|
||||
|
||||
/* Define to `__inline__' or `__inline' if that's what the C compiler
|
||||
calls it, or to nothing if 'inline' is not supported under any name. */
|
||||
|
||||
+1
-2
@@ -1,5 +1,4 @@
|
||||
/* This file is automatically generated. DO NOT EDIT! */
|
||||
/* Generated from: NetBSD: mknative-binutils,v 1.8 2011/09/25 04:00:58 christos Exp */
|
||||
/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp */
|
||||
/* Generated from: NetBSD: mknative,v 1.9 2003/02/07 01:52:54 lukem Exp */
|
||||
|
||||
#include "itbl-arm.h"
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
/* This file is automatically generated. DO NOT EDIT! */
|
||||
/* Generated from: NetBSD: mknative-binutils,v 1.8 2011/09/25 04:00:58 christos Exp */
|
||||
/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp */
|
||||
/* Generated from: NetBSD: mknative,v 1.9 2003/02/07 01:52:54 lukem Exp */
|
||||
|
||||
#include "obj-elf.h"
|
||||
|
||||
+1
-2
@@ -1,5 +1,4 @@
|
||||
/* This file is automatically generated. DO NOT EDIT! */
|
||||
/* Generated from: NetBSD: mknative-binutils,v 1.8 2011/09/25 04:00:58 christos Exp */
|
||||
/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp */
|
||||
/* Generated from: NetBSD: mknative,v 1.9 2003/02/07 01:52:54 lukem Exp */
|
||||
|
||||
#include "tc-arm.h"
|
||||
|
||||
+11
-11
@@ -42,10 +42,10 @@
|
||||
|
||||
/* Define to 1 if translation of program messages to the user's native
|
||||
language is requested. */
|
||||
#define ENABLE_NLS 1
|
||||
/* #undef ENABLE_NLS */
|
||||
|
||||
/* Define to 1 if you have `alloca', as a function or macro. */
|
||||
#define HAVE_ALLOCA 1
|
||||
/* #undef HAVE_ALLOCA */
|
||||
|
||||
/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
|
||||
*/
|
||||
@@ -225,19 +225,19 @@
|
||||
/* #undef STRICTCOFF */
|
||||
|
||||
/* Target alias. */
|
||||
#define TARGET_ALIAS "i486--netbsdelf"
|
||||
#define TARGET_ALIAS "i586-elf32-minix"
|
||||
|
||||
/* Define as 1 if big endian. */
|
||||
/* #undef TARGET_BYTES_BIG_ENDIAN */
|
||||
|
||||
/* Canonical target. */
|
||||
#define TARGET_CANONICAL "i486--netbsdelf"
|
||||
#define TARGET_CANONICAL "i586-elf32-minix"
|
||||
|
||||
/* Target CPU. */
|
||||
#define TARGET_CPU "i486"
|
||||
#define TARGET_CPU "i586"
|
||||
|
||||
/* Target OS. */
|
||||
#define TARGET_OS "netbsdelf"
|
||||
#define TARGET_OS "minix"
|
||||
|
||||
/* Define if default target is PowerPC Solaris. */
|
||||
/* #undef TARGET_SOLARIS_COMMENT */
|
||||
@@ -246,7 +246,7 @@
|
||||
/* #undef TARGET_SYMBIAN */
|
||||
|
||||
/* Target vendor. */
|
||||
#define TARGET_VENDOR ""
|
||||
#define TARGET_VENDOR "elf32"
|
||||
|
||||
/* Use b modifier when opening binary files? */
|
||||
/* #undef USE_BINARY_FOPEN */
|
||||
@@ -283,7 +283,7 @@
|
||||
/* #undef USING_CGEN */
|
||||
|
||||
/* Version number of package */
|
||||
#define VERSION "2.21.1"
|
||||
#define VERSION "2.22"
|
||||
|
||||
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
|
||||
significant byte first (like Motorola and SPARC, unlike Intel). */
|
||||
@@ -308,14 +308,14 @@
|
||||
/* #undef _LARGE_FILES */
|
||||
|
||||
/* Define to 1 if on MINIX. */
|
||||
/* #undef _MINIX */
|
||||
#define _MINIX 1
|
||||
|
||||
/* Define to 2 if the system does not provide POSIX.1 features except with
|
||||
this defined. */
|
||||
/* #undef _POSIX_1_SOURCE */
|
||||
#define _POSIX_1_SOURCE 2
|
||||
|
||||
/* Define to 1 if you need to in order for `stat' and other things to work. */
|
||||
/* #undef _POSIX_SOURCE */
|
||||
#define _POSIX_SOURCE 1
|
||||
|
||||
/* Define to `__inline__' or `__inline' if that's what the C compiler
|
||||
calls it, or to nothing if 'inline' is not supported under any name. */
|
||||
|
||||
+1
-1
@@ -5,4 +5,4 @@
|
||||
G_DEFS=-DHAVE_CONFIG_H
|
||||
G_INCLUDES=
|
||||
G_OBJS=app.o as.o atof-generic.o compress-debug.o cond.o depend.o dwarf2dbg.o dw2gencfi.o ecoff.o ehopt.o expr.o flonum-copy.o flonum-konst.o flonum-mult.o frags.o hash.o input-file.o input-scrub.o listing.o literal.o macro.o messages.o output-file.o read.o remap.o sb.o stabs.o subsegs.o symbols.o write.o
|
||||
G_OBJS+=tc-i386.o obj-elf.o atof-ieee.o
|
||||
G_OBJS+=tc-i386.o obj-elf.o atof-ieee.o
|
||||
|
||||
+3
-2
@@ -1,4 +1,5 @@
|
||||
/* This file is automatically generated. DO NOT EDIT! */
|
||||
/* Generated from: NetBSD: mknative,v 1.9 2003/02/07 01:52:54 lukem Exp */
|
||||
/* Generated from: NetBSD: mknative-binutils,v 1.8 2011/09/25 04:00:58 christos Exp */
|
||||
/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp */
|
||||
|
||||
#include "te-nbsd.h"
|
||||
#include "te-minix.h"
|
||||
|
||||
@@ -11,8 +11,10 @@ PROG= gprof
|
||||
SRCS= ${G_gprof_OBJECTS:.o=.c}
|
||||
CPPFLAGS+= -I${.CURDIR}/arch/${MACHINE_ARCH}
|
||||
|
||||
.if !defined(__MINIX)
|
||||
LDADD= -lintl
|
||||
DPADD= ${LIBINTL}
|
||||
.endif # !defined(__MINIX)
|
||||
|
||||
BFDOBJ!= cd ${TOP}/${BFDSUBDIR}/libbfd && ${PRINTOBJDIR}
|
||||
LDADD+= -L${BFDOBJ} -lbfd
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
/* Define to 1 if translation of program messages to the user's native
|
||||
language is requested. */
|
||||
#define ENABLE_NLS 1
|
||||
/* #undef ENABLE_NLS */
|
||||
|
||||
/* Is the prototype for getopt in <unistd.h> in the expected format? */
|
||||
#define HAVE_DECL_GETOPT 1
|
||||
@@ -99,7 +99,7 @@
|
||||
|
||||
|
||||
/* Version number of package */
|
||||
#define VERSION "2.21.1"
|
||||
#define VERSION "2.22"
|
||||
|
||||
/* Number of bits in a file offset, on hosts where this is settable. */
|
||||
/* #undef _FILE_OFFSET_BITS */
|
||||
@@ -108,11 +108,11 @@
|
||||
/* #undef _LARGE_FILES */
|
||||
|
||||
/* Define to 1 if on MINIX. */
|
||||
/* #undef _MINIX */
|
||||
#define _MINIX 1
|
||||
|
||||
/* Define to 2 if the system does not provide POSIX.1 features except with
|
||||
this defined. */
|
||||
/* #undef _POSIX_1_SOURCE */
|
||||
#define _POSIX_1_SOURCE 2
|
||||
|
||||
/* Define to 1 if you need to in order for `stat' and other things to work. */
|
||||
/* #undef _POSIX_SOURCE */
|
||||
#define _POSIX_SOURCE 1
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
/* Define to 1 if translation of program messages to the user's native
|
||||
language is requested. */
|
||||
#define ENABLE_NLS 1
|
||||
/* #undef ENABLE_NLS */
|
||||
|
||||
/* Is the prototype for getopt in <unistd.h> in the expected format? */
|
||||
#define HAVE_DECL_GETOPT 1
|
||||
@@ -99,7 +99,7 @@
|
||||
|
||||
|
||||
/* Version number of package */
|
||||
#define VERSION "2.21.1"
|
||||
#define VERSION "2.22"
|
||||
|
||||
/* Number of bits in a file offset, on hosts where this is settable. */
|
||||
/* #undef _FILE_OFFSET_BITS */
|
||||
@@ -108,11 +108,11 @@
|
||||
/* #undef _LARGE_FILES */
|
||||
|
||||
/* Define to 1 if on MINIX. */
|
||||
/* #undef _MINIX */
|
||||
#define _MINIX 1
|
||||
|
||||
/* Define to 2 if the system does not provide POSIX.1 features except with
|
||||
this defined. */
|
||||
/* #undef _POSIX_1_SOURCE */
|
||||
#define _POSIX_1_SOURCE 2
|
||||
|
||||
/* Define to 1 if you need to in order for `stat' and other things to work. */
|
||||
/* #undef _POSIX_SOURCE */
|
||||
#define _POSIX_SOURCE 1
|
||||
|
||||
+9
-3
@@ -20,8 +20,14 @@ CPPFLAGS+= -I${.CURDIR}/arch/${MACHINE_ARCH} \
|
||||
-DTOOLBINDIR=\"/usr/bin\" \
|
||||
-DENABLE_PLUGINS
|
||||
|
||||
.if !defined(__MINIX)
|
||||
LDADD= -lintl
|
||||
DPADD= ${LIBINTL}
|
||||
.else
|
||||
CPPFLAGS+= \
|
||||
-DTARGET_SYSTEM_ROOT=\"/usr/${G_target_alias}/sys-root\" \
|
||||
-DTARGET_SYSTEM_ROOT_RELOCATABLE
|
||||
.endif # !defined(__MINIX
|
||||
|
||||
COPTS.ldgram.c = -Wno-stack-protector
|
||||
|
||||
@@ -94,15 +100,15 @@ EMUL_LIB_PATH.${f}=/usr/lib
|
||||
EMUL_LIB_PATH.${f}=/usr/lib
|
||||
. endif
|
||||
|
||||
#GENSCRIPTS = LIB_PATH='${LIB_PATH}' $(SHELL) $(srcdir)/genscripts.sh "${srcdir}" "${libdir}" "${prefix}" "${exec_prefix}" @host@ @target@ @ta rget_alias@ "@EMULATION_LIBPATH@" "@NATIVE_LIB_DIRS@" @use_sysroot@
|
||||
|
||||
# Binutils 2.22: the arguments have slightly changed.
|
||||
#ENSCRIPTS = LIB_PATH='${LIB_PATH}' $(SHELL) $(srcdir)/genscripts.sh "${srcdir}" "${libdir}" "${prefix}" "${exec_prefix}" @host@ @target@ @target_alias@ "@EMULATION_LIBPATH@" "@NATIVE_LIB_DIRS@" @use_sysroot@ @enable_initfini_array@ @EMULATION_NAME@
|
||||
e${f}.c: ${DIST}/ld/genscripts.sh ${.CURDIR}/Makefile stringify.sed
|
||||
${_MKTARGET_CREATE}
|
||||
unset MACHINE || true; \
|
||||
LIB_PATH=${EMUL_LIB_PATH.${f}} NATIVE=yes \
|
||||
${HOST_SH} ${DIST}/ld/genscripts.sh ${DIST}/ld ${LIBDIR} "/usr" "/usr/bin" \
|
||||
${G_target_alias} ${G_target_alias} ${G_target_alias} \
|
||||
${G_EMUL} ${LIBDIR} yes ${f} "${G_target_alias}"
|
||||
${G_EMUL} ${LIBDIR} yes no ${f}
|
||||
|
||||
.if ${MACHINE_ARCH} == "x86_64" || ${MACHINE_ARCH} == "sparc64" || \
|
||||
${MACHINE_ARCH} == "mips64el" || ${MACHINE_ARCH} == "mips64eb"
|
||||
|
||||
+11
-8
@@ -7,7 +7,7 @@
|
||||
|
||||
/* Define to 1 if translation of program messages to the user's native
|
||||
language is requested. */
|
||||
#define ENABLE_NLS 1
|
||||
/* #undef ENABLE_NLS */
|
||||
|
||||
/* Additional extension a shared object might have. */
|
||||
/* #undef EXTRA_SHLIB_EXTENSION */
|
||||
@@ -66,6 +66,9 @@
|
||||
/* Define to 1 if you have the `glob' function. */
|
||||
#define HAVE_GLOB 1
|
||||
|
||||
/* Define .init_array/.fini_array sections are available and working. */
|
||||
#define HAVE_INITFINI_ARRAY 1
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#define HAVE_INTTYPES_H 1
|
||||
|
||||
@@ -134,11 +137,11 @@
|
||||
/* Define to 1 if you have the `waitpid' function. */
|
||||
#define HAVE_WAITPID 1
|
||||
|
||||
/* Define to 1 if you have the <Windows.h> header file. */
|
||||
/* Define to 1 if you have the <windows.h> header file. */
|
||||
/* #undef HAVE_WINDOWS_H */
|
||||
|
||||
/* Define to 1 if you have the <zlib.h> header file. */
|
||||
/* #undef HAVE_ZLIB_H */
|
||||
#define HAVE_ZLIB_H 1
|
||||
|
||||
/* Define to the sub-directory in which libtool stores uninstalled libraries.
|
||||
*/
|
||||
@@ -197,11 +200,11 @@
|
||||
|
||||
|
||||
/* Version number of package */
|
||||
#define VERSION "2.21.1"
|
||||
#define VERSION "2.22"
|
||||
|
||||
/* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
|
||||
`char[]'. */
|
||||
/* #undef YYTEXT_POINTER */
|
||||
#define YYTEXT_POINTER 1
|
||||
|
||||
/* Number of bits in a file offset, on hosts where this is settable. */
|
||||
/* #undef _FILE_OFFSET_BITS */
|
||||
@@ -210,11 +213,11 @@
|
||||
/* #undef _LARGE_FILES */
|
||||
|
||||
/* Define to 1 if on MINIX. */
|
||||
/* #undef _MINIX */
|
||||
#define _MINIX 1
|
||||
|
||||
/* Define to 2 if the system does not provide POSIX.1 features except with
|
||||
this defined. */
|
||||
/* #undef _POSIX_1_SOURCE */
|
||||
#define _POSIX_1_SOURCE 2
|
||||
|
||||
/* Define to 1 if you need to in order for `stat' and other things to work. */
|
||||
/* #undef _POSIX_SOURCE */
|
||||
#define _POSIX_SOURCE 1
|
||||
|
||||
+4
-4
@@ -3,10 +3,10 @@
|
||||
# Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp
|
||||
#
|
||||
G_DEFS=-DHAVE_CONFIG_H
|
||||
G_EMUL=armelf_nbsd_eabi
|
||||
G_EMULATION_OFILES=earmelf_nbsd_eabi.o earmelfb_nbsd_eabi.o earmelf.o earmnbsd.o
|
||||
G_EMUL=armelf_minix
|
||||
G_EMULATION_OFILES=earmelf_minix.o earmelf.o
|
||||
G_INCLUDES=
|
||||
G_OFILES=ldgram.o ldlex-wrapper.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o plugin.o ldwrite.o ldexp.o ldemul.o ldver.o ldmisc.o ldfile.o ldcref.o earmelf_nbsd_eabi.o earmelfb_nbsd_eabi.o earmelf.o earmnbsd.o
|
||||
G_OFILES=ldgram.o ldlex-wrapper.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o plugin.o ldwrite.o ldexp.o ldemul.o ldver.o ldmisc.o ldfile.o ldcref.o earmelf_minix.o earmelf.o
|
||||
G_STRINGIFY=astring.sed
|
||||
G_TEXINFOS=ld.texinfo
|
||||
G_target_alias=arm--netbsdelf-eabi
|
||||
G_target_alias=arm-elf32-minix
|
||||
|
||||
@@ -3,14 +3,10 @@
|
||||
/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp */
|
||||
|
||||
/* This file is automatically generated. DO NOT EDIT! */
|
||||
extern ld_emulation_xfer_type ld_armelf_nbsd_eabi_emulation;
|
||||
extern ld_emulation_xfer_type ld_armelfb_nbsd_eabi_emulation;
|
||||
extern ld_emulation_xfer_type ld_armelf_minix_emulation;
|
||||
extern ld_emulation_xfer_type ld_armelf_emulation;
|
||||
extern ld_emulation_xfer_type ld_armnbsd_emulation;
|
||||
|
||||
#define EMULATION_LIST \
|
||||
&ld_armelf_nbsd_eabi_emulation, \
|
||||
&ld_armelfb_nbsd_eabi_emulation, \
|
||||
&ld_armelf_minix_emulation, \
|
||||
&ld_armelf_emulation, \
|
||||
&ld_armnbsd_emulation, \
|
||||
0
|
||||
|
||||
+9
-6
@@ -7,7 +7,7 @@
|
||||
|
||||
/* Define to 1 if translation of program messages to the user's native
|
||||
language is requested. */
|
||||
#define ENABLE_NLS 1
|
||||
/* #undef ENABLE_NLS */
|
||||
|
||||
/* Additional extension a shared object might have. */
|
||||
/* #undef EXTRA_SHLIB_EXTENSION */
|
||||
@@ -66,6 +66,9 @@
|
||||
/* Define to 1 if you have the `glob' function. */
|
||||
#define HAVE_GLOB 1
|
||||
|
||||
/* Define .init_array/.fini_array sections are available and working. */
|
||||
/* #undef HAVE_INITFINI_ARRAY */
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#define HAVE_INTTYPES_H 1
|
||||
|
||||
@@ -134,7 +137,7 @@
|
||||
/* Define to 1 if you have the `waitpid' function. */
|
||||
#define HAVE_WAITPID 1
|
||||
|
||||
/* Define to 1 if you have the <Windows.h> header file. */
|
||||
/* Define to 1 if you have the <windows.h> header file. */
|
||||
/* #undef HAVE_WINDOWS_H */
|
||||
|
||||
/* Define to 1 if you have the <zlib.h> header file. */
|
||||
@@ -197,7 +200,7 @@
|
||||
|
||||
|
||||
/* Version number of package */
|
||||
#define VERSION "2.21.1"
|
||||
#define VERSION "2.22"
|
||||
|
||||
/* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
|
||||
`char[]'. */
|
||||
@@ -210,11 +213,11 @@
|
||||
/* #undef _LARGE_FILES */
|
||||
|
||||
/* Define to 1 if on MINIX. */
|
||||
/* #undef _MINIX */
|
||||
#define _MINIX 1
|
||||
|
||||
/* Define to 2 if the system does not provide POSIX.1 features except with
|
||||
this defined. */
|
||||
/* #undef _POSIX_1_SOURCE */
|
||||
#define _POSIX_1_SOURCE 2
|
||||
|
||||
/* Define to 1 if you need to in order for `stat' and other things to work. */
|
||||
/* #undef _POSIX_SOURCE */
|
||||
#define _POSIX_SOURCE 1
|
||||
|
||||
+4
-4
@@ -3,10 +3,10 @@
|
||||
# Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp
|
||||
#
|
||||
G_DEFS=-DHAVE_CONFIG_H
|
||||
G_EMUL=elf_i386
|
||||
G_EMULATION_OFILES=eelf_i386.o ei386nbsd.o
|
||||
G_EMUL=elf_i386_minix
|
||||
G_EMULATION_OFILES=eelf_i386_minix.o eelf_i386.o
|
||||
G_INCLUDES=
|
||||
G_OFILES=ldgram.o ldlex-wrapper.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o plugin.o ldwrite.o ldexp.o ldemul.o ldver.o ldmisc.o ldfile.o ldcref.o eelf_i386.o ei386nbsd.o
|
||||
G_OFILES=ldgram.o ldlex-wrapper.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o plugin.o ldwrite.o ldexp.o ldemul.o ldver.o ldmisc.o ldfile.o ldcref.o eelf_i386_minix.o eelf_i386.o
|
||||
G_STRINGIFY=astring.sed
|
||||
G_TEXINFOS=ld.texinfo
|
||||
G_target_alias=i486--netbsdelf
|
||||
G_target_alias=i586-elf32-minix
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
/* This file is automatically generated. DO NOT EDIT! */
|
||||
/* Generated from: NetBSD: mknative,v 1.9 2003/02/07 01:52:54 lukem Exp */
|
||||
/* Generated from: NetBSD: mknative-binutils,v 1.8 2011/09/25 04:00:58 christos Exp */
|
||||
/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp */
|
||||
|
||||
/* This file is automatically generated. DO NOT EDIT! */
|
||||
extern ld_emulation_xfer_type ld_elf_i386_minix_emulation;
|
||||
extern ld_emulation_xfer_type ld_elf_i386_emulation;
|
||||
extern ld_emulation_xfer_type ld_i386nbsd_emulation;
|
||||
|
||||
#define EMULATION_LIST \
|
||||
&ld_elf_i386_minix_emulation, \
|
||||
&ld_elf_i386_emulation, \
|
||||
&ld_i386nbsd_emulation, \
|
||||
0
|
||||
|
||||
@@ -2,6 +2,10 @@
|
||||
|
||||
PROG= objdump
|
||||
|
||||
.if defined(__MINIX)
|
||||
CPPFLAGS.objdump.c+= -DOBJDUMP_PRIVATE_VECTORS=""
|
||||
.endif # defined(__MINIX)
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
.include "${.CURDIR}/../common/Makefile.prog"
|
||||
|
||||
Reference in New Issue
Block a user