2005-07-24 Paolo Bonzini <bonzini@gnu.org>
[deliverable/binutils-gdb.git] / bfd / libbfd.h
index f2d51efb9e1db376bd202c519e703cba12300586..2a83aae28be24c6300e4e73b9e3c0a07143dc7bc 100644 (file)
@@ -69,6 +69,7 @@ struct artdata {
   carsym *symdefs;             /* the symdef entries */
   symindex symdef_count;       /* how many there are */
   char *extended_names;                /* clever intel extension */
+  bfd_size_type extended_names_size; /* Size of extended names */
   /* when more compilers are standard C, this can be a time_t */
   long  armap_timestamp;       /* Timestamp value written into armap.
                                   This is used for BSD archives to check
@@ -98,6 +99,12 @@ extern void *bfd_realloc
   (void *, bfd_size_type);
 extern void *bfd_zmalloc
   (bfd_size_type);
+extern void *bfd_malloc2
+  (bfd_size_type, bfd_size_type);
+extern void *bfd_realloc2
+  (void *, bfd_size_type, bfd_size_type);
+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;
@@ -108,6 +115,10 @@ extern void *bfd_alloc
   (bfd *, bfd_size_type);
 extern void *bfd_zalloc
   (bfd *, bfd_size_type);
+extern void *bfd_alloc2
+  (bfd *, bfd_size_type, bfd_size_type);
+extern void *bfd_zalloc2
+  (bfd *, bfd_size_type, bfd_size_type);
 extern void bfd_release
   (bfd *, void *);
 
@@ -433,6 +444,14 @@ extern bfd_boolean _bfd_dwarf2_find_nearest_line
   (bfd *, asection *, asymbol **, bfd_vma, const char **, const char **,
    unsigned int *, unsigned int, void **);
 
+/* Find the line using DWARF 2 debugging information.  */
+extern bfd_boolean _bfd_dwarf2_find_line
+  (bfd *, asymbol **, asymbol *, const char **,
+   unsigned int *, unsigned int, void **);
+
+bfd_boolean _bfd_generic_find_line
+  (bfd *, asymbol **, asymbol *, const char **, unsigned int *);
+
 /* Find inliner info after calling bfd_find_nearest_line. */
 extern bfd_boolean _bfd_dwarf2_find_inliner_info
   (bfd *, const char **, const char **, unsigned int *, void **);
@@ -1041,6 +1060,8 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@",
   "BFD_RELOC_X86_64_DTPOFF32",
   "BFD_RELOC_X86_64_GOTTPOFF",
   "BFD_RELOC_X86_64_TPOFF32",
+  "BFD_RELOC_X86_64_GOTOFF64",
+  "BFD_RELOC_X86_64_GOTPC32",
   "BFD_RELOC_NS32K_IMM_8",
   "BFD_RELOC_NS32K_IMM_16",
   "BFD_RELOC_NS32K_IMM_32",
@@ -1317,6 +1338,23 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@",
   "BFD_RELOC_DLX_HI16_S",
   "BFD_RELOC_DLX_LO16",
   "BFD_RELOC_DLX_JMP26",
+  "BFD_RELOC_M16C_8_PCREL8",
+  "BFD_RELOC_M16C_16_PCREL8",
+  "BFD_RELOC_M16C_8_PCREL16",
+  "BFD_RELOC_M16C_8_ELABEL24",
+  "BFD_RELOC_M16C_8_ABS16",
+  "BFD_RELOC_M16C_16_ABS16",
+  "BFD_RELOC_M16C_16_ABS24",
+  "BFD_RELOC_M16C_16_ABS32",
+  "BFD_RELOC_M16C_24_ABS16",
+  "BFD_RELOC_M16C_24_ABS24",
+  "BFD_RELOC_M16C_24_ABS32",
+  "BFD_RELOC_M16C_32_ABS16",
+  "BFD_RELOC_M16C_32_ABS24",
+  "BFD_RELOC_M16C_32_ABS32",
+  "BFD_RELOC_M16C_40_ABS16",
+  "BFD_RELOC_M16C_40_ABS24",
+  "BFD_RELOC_M16C_40_ABS32",
   "BFD_RELOC_M32R_24",
   "BFD_RELOC_M32R_10_PCREL",
   "BFD_RELOC_M32R_18_PCREL",
@@ -1708,6 +1746,11 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@",
   "BFD_RELOC_VAX_GLOB_DAT",
   "BFD_RELOC_VAX_JMP_SLOT",
   "BFD_RELOC_VAX_RELATIVE",
+  "BFD_RELOC_MS1_PC16",
+  "BFD_RELOC_MS1_HI16",
+  "BFD_RELOC_MS1_LO16",
+  "BFD_RELOC_MS1_GNU_VTINHERIT",
+  "BFD_RELOC_MS1_GNU_VTENTRY",
   "BFD_RELOC_MSP430_10_PCREL",
   "BFD_RELOC_MSP430_16_PCREL",
   "BFD_RELOC_MSP430_16",
This page took 0.025014 seconds and 4 git commands to generate.