/* DO NOT EDIT! -*- buffer-read-only: t -*- This file is automatically
- generated from "libbfd-in.h", "init.c", "libbfd.c", "bfdio.c",
- "bfdwin.c", "cache.c", "reloc.c", "archures.c" and "elf.c".
+ generated from "libbfd-in.h", "libbfd.c", "bfdio.c", "bfdwin.c",
+ "cache.c", "reloc.c", "archures.c" and "linker.c".
Run "make headers" in your build bfd/ to regenerate. */
/* libbfd.h -- Declarations used by bfd library *implementation*.
extern void *bfd_zmalloc2
(bfd_size_type, bfd_size_type);
-extern void _bfd_default_error_handler (const char *s, ...);
-extern bfd_error_handler_type _bfd_error_handler;
-extern bfd_assert_handler_type _bfd_assert_handler;
+extern void _bfd_error_handler (const char *s, ...);
/* These routines allocate and free things on the BFD's objalloc. */
#define _bfd_generic_bfd_copy_private_bfd_data \
((bfd_boolean (*) (bfd *, bfd *)) bfd_true)
#define _bfd_generic_bfd_merge_private_bfd_data \
- ((bfd_boolean (*) (bfd *, bfd *)) bfd_true)
+ ((bfd_boolean (*) (bfd *, struct bfd_link_info *)) bfd_true)
#define _bfd_generic_bfd_set_private_flags \
((bfd_boolean (*) (bfd *, flagword)) bfd_true)
#define _bfd_generic_bfd_copy_private_section_data \
/* Write out a string table. */
extern bfd_boolean _bfd_stringtab_emit
(bfd *, struct bfd_strtab_hash *);
-
-/* Check that endianness of input and output file match. */
-extern bfd_boolean _bfd_generic_verify_endian_match
- (bfd *, bfd *);
\f
/* Macros to tell if bfds are read or write enabled.
extern bfd_signed_vma read_signed_leb128 (bfd *, bfd_byte *, unsigned int *);
extern bfd_vma safe_read_leb128 (bfd *, bfd_byte *, unsigned int *,
bfd_boolean, const bfd_byte * const);
-/* Extracted from init.c. */
/* Extracted from libbfd.c. */
bfd_boolean bfd_write_bigendian_4byte_int (bfd *, unsigned int);
"BFD_RELOC_AC_SECTOFF_U8",
"BFD_RELOC_AC_SECTOFF_U8_1",
"BFD_RELOC_AC_SECTOFF_U8_2",
- "BFD_RELOC_AC_SECTFOFF_S9",
- "BFD_RELOC_AC_SECTFOFF_S9_1",
- "BFD_RELOC_AC_SECTFOFF_S9_2",
+ "BFD_RELOC_AC_SECTOFF_S9",
+ "BFD_RELOC_AC_SECTOFF_S9_1",
+ "BFD_RELOC_AC_SECTOFF_S9_2",
"BFD_RELOC_ARC_SECTOFF_ME_1",
"BFD_RELOC_ARC_SECTOFF_ME_2",
"BFD_RELOC_ARC_SECTOFF_1",
"BFD_RELOC_ARC_SECTOFF_2",
+ "BFD_RELOC_ARC_SDA_12",
"BFD_RELOC_ARC_SDA16_ST2",
"BFD_RELOC_ARC_32_PCREL",
"BFD_RELOC_ARC_PC32",
"BFD_RELOC_AVR_LDS_STS_16",
"BFD_RELOC_AVR_PORT6",
"BFD_RELOC_AVR_PORT5",
+ "BFD_RELOC_RISCV_HI20",
+ "BFD_RELOC_RISCV_PCREL_HI20",
+ "BFD_RELOC_RISCV_PCREL_LO12_I",
+ "BFD_RELOC_RISCV_PCREL_LO12_S",
+ "BFD_RELOC_RISCV_LO12_I",
+ "BFD_RELOC_RISCV_LO12_S",
+ "BFD_RELOC_RISCV_GPREL12_I",
+ "BFD_RELOC_RISCV_GPREL12_S",
+ "BFD_RELOC_RISCV_TPREL_HI20",
+ "BFD_RELOC_RISCV_TPREL_LO12_I",
+ "BFD_RELOC_RISCV_TPREL_LO12_S",
+ "BFD_RELOC_RISCV_TPREL_ADD",
+ "BFD_RELOC_RISCV_CALL",
+ "BFD_RELOC_RISCV_CALL_PLT",
+ "BFD_RELOC_RISCV_ADD8",
+ "BFD_RELOC_RISCV_ADD16",
+ "BFD_RELOC_RISCV_ADD32",
+ "BFD_RELOC_RISCV_ADD64",
+ "BFD_RELOC_RISCV_SUB8",
+ "BFD_RELOC_RISCV_SUB16",
+ "BFD_RELOC_RISCV_SUB32",
+ "BFD_RELOC_RISCV_SUB64",
+ "BFD_RELOC_RISCV_GOT_HI20",
+ "BFD_RELOC_RISCV_TLS_GOT_HI20",
+ "BFD_RELOC_RISCV_TLS_GD_HI20",
+ "BFD_RELOC_RISCV_JMP",
+ "BFD_RELOC_RISCV_TLS_DTPMOD32",
+ "BFD_RELOC_RISCV_TLS_DTPREL32",
+ "BFD_RELOC_RISCV_TLS_DTPMOD64",
+ "BFD_RELOC_RISCV_TLS_DTPREL64",
+ "BFD_RELOC_RISCV_TLS_TPREL32",
+ "BFD_RELOC_RISCV_TLS_TPREL64",
+ "BFD_RELOC_RISCV_ALIGN",
+ "BFD_RELOC_RISCV_RVC_BRANCH",
+ "BFD_RELOC_RISCV_RVC_JUMP",
+ "BFD_RELOC_RISCV_RVC_LUI",
+ "BFD_RELOC_RISCV_GPREL_I",
+ "BFD_RELOC_RISCV_GPREL_S",
"BFD_RELOC_RL78_NEG8",
"BFD_RELOC_RL78_NEG16",
"BFD_RELOC_RL78_NEG24",
/* Extracted from archures.c. */
extern const bfd_arch_info_type bfd_default_arch_struct;
-bfd_boolean bfd_default_set_arch_mach
- (bfd *abfd, enum bfd_architecture arch, unsigned long mach);
-
const bfd_arch_info_type *bfd_default_compatible
(const bfd_arch_info_type *a, const bfd_arch_info_type *b);
bfd_boolean is_bigendian,
bfd_boolean code);
-/* Extracted from elf.c. */
+/* Extracted from linker.c. */
+bfd_boolean _bfd_generic_verify_endian_match
+ (bfd *ibfd, struct bfd_link_info *info);
+
#ifdef __cplusplus
}
#endif