BFD_JUMP_TABLE_DYNAMIC (vms),
NULL,
-
+
(PTR) 0
};
BFD_JUMP_TABLE_DYNAMIC (vms),
NULL,
-
+
(PTR) 0
};
\f
return true;
}
-
/* Fill symbol->section with section ptr
symbol->section is filled with the section index for defined symbols
during reading the GSD/EGSD section. But we need the pointer to the
return true;
}
-
/* Fixup sections
set up all pointers and arrays, counters and sizes are fixed now
/* can't provide section count as argument to fill_section_ptr(). */
priv_section_count = PRIV(section_count);
bfd_hash_traverse (PRIV(vms_symbol_table), fill_section_ptr,
- (PTR)(PRIV(sections)));
+ (PTR) (PRIV(sections)));
PRIV(fixup_done) = true;
if (_bfd_vms_next_record (abfd) < 0)
{
#if VMS_DEBUG
- vms_debug (2, "next_record failed\n");
+ vms_debug (2, "next_record failed\n");
#endif
bfd_set_error (bfd_error_wrong_format);
return 0;
}
/* set arch_info to vax */
-
+
arch = bfd_scan_arch ("vax");
PRIV (is_vax) = 1;
#if VMS_DEBUG
else if (target_vector == &vms_alpha_vec)
{
/* set arch_info to alpha */
-
+
arch = bfd_scan_arch ("alpha");
PRIV (is_vax) = 0;
#if VMS_DEBUG
return target_vector;
}
-
/* Check the format for a file being read.
Return a (bfd_target *) if it's an archive file or zero. */
return 0;
}
-
/* Set the format of a file being written. */
static boolean
return true;
}
-
/* Write cached information into a file being written, at bfd_close. */
static boolean
return true;
}
-
/* Ask the BFD to free all cached information. */
static boolean
vms_bfd_free_cached_info (abfd)
return true;
}
-
/* Called when a new section is created. */
static boolean
return true;
}
-
/* Read the contents of a section.
buf points to a buffer of buf_size bytes to be filled with
section data (starting at offset into section) */
return true;
}
-
/* Merge private BFD information from the BFD @var{ibfd} to the
the output file BFD @var{obfd} when linking. Return <<true>>
on success, <<false>> on error. Possible error returns are:
return true;
}
-
/* Set private BFD flag information in the BFD @var{abfd}.
Return <<true>> on success, <<false>> on error. Possible error
returns are:
return true;
}
-
/* Called to copy BFD private section data from one object file
to another. */
/* Called to copy BFD private symbol data from one object file
to another. */
-static boolean
+static boolean
vms_bfd_copy_private_symbol_data (ibfd, isym, obfd, osym)
bfd *ibfd ATTRIBUTE_UNUSED;
asymbol *isym ATTRIBUTE_UNUSED;
return 0;
}
-
/* Returns the signal number which caused the core dump which
generated the file the BFD abfd is attached to. */
return 0;
}
-
/* Return true if the core file attached to core_bfd was generated
by a run of the executable file attached to exec_bfd, false otherwise. */
return false;
}
-
/* ??? do something with an extended name table.
Return false on error, true otherwise. */
return false;
}
-
/* ??? do something with an extended name table.
Return false on error, true otherwise. */
return false;
}
-
/* Truncate the name of an archive to match system-dependent restrictions */
static void
return;
}
-
/* ??? write archive map */
static boolean
return (PTR)0;
}
-
/* Provided a BFD, @var{archive}, containing an archive and NULL, open
an input BFD on the first contained element and returns that.
Subsequent calls should pass the archive and the previous return value
return NULL;
}
-
/* Return the BFD which is referenced by the symbol in ABFD indexed by
INDEX. INDEX should have been returned by bfd_get_next_mapent. */
return _bfd_generic_get_elt_at_index(abfd, index);
}
-
/* ???
-> bfd_generic_stat_arch_elt */
return bfd_generic_stat_arch_elt(abfd, stat);
}
-
/* This is a new function in bfd 2.5 */
static boolean
#if VMS_DEBUG
vms_debug (1, "vms_get_symtab_upper_bound(%p), %d symbols\n", abfd, PRIV(gsd_sym_count));
#endif
- return (PRIV(gsd_sym_count)+1) * sizeof(asymbol *);
+ return (PRIV(gsd_sym_count)+1) * sizeof (asymbol *);
}
-
/* Copy symbols from hash table to symbol vector
called from bfd_hash_traverse in vms_get_symtab
return true;
}
-
/* Read the symbols from the BFD abfd, and fills in the vector
location with pointers to the symbols and a trailing NULL.
return PRIV(gsd_sym_count);
}
-
/* Create a new asymbol structure for the BFD abfd and return a pointer
to it.
This routine is necessary because each back end has private information
_bfd_vms_make_empty_symbol (abfd)
bfd *abfd;
{
- asymbol *symbol = (asymbol *)bfd_zalloc(abfd, sizeof(asymbol));
+ asymbol *symbol = (asymbol *)bfd_zalloc(abfd, sizeof (asymbol));
#if VMS_DEBUG
vms_debug (1, "_bfd_vms_make_empty_symbol(%p)\n", abfd);
return symbol;
}
-
/* Print symbol to file according to how. how is one of
bfd_print_symbol_name just print the name
bfd_print_symbol_more print more (???)
{
case bfd_print_symbol_name:
case bfd_print_symbol_more:
- fprintf((FILE *)file," %s", symbol->name);
+ fprintf ((FILE *)file," %s", symbol->name);
break;
break;
bfd_print_symbol_vandf((PTR)file,symbol);
- fprintf((FILE *)file," %-8s %s", section_name, symbol->name);
+ fprintf ((FILE *)file," %-8s %s", section_name, symbol->name);
}
break;
}
return;
}
-
/* Return information about symbol in ret.
fill type, value and name
return;
}
-
/* Return true if the given symbol sym in the BFD abfd is
a compiler generated local label, else return false. */
return name[0] == '$';
}
-
/* Get source line number for symbol */
static alent *
return 0;
}
-
/* Provided a BFD, a section and an offset into the section, calculate and
return the name of the source file and the line nearest to the wanted
location. */
return false;
}
-
/* Back-door to allow format-aware applications to create debug symbols
while using BFD for everything else. Currently used by the assembler
when creating COFF files. */
return 0;
}
-
/* Read minisymbols. For minisymbols, we use the unmodified a.out
symbols. The minisymbol_to_symbol function translates these into
BFD asymbol structures. */
return -1L;
}
-
/* Call the back end associated with the open BFD abfd and translate the
external form of the relocation information attached to sec into the
internal canonical form. Place the table into memory at loc, which has
return &alpha_howto_table[alpha_type];
}
-
/*-- Part 4.7, writing an object file ---------------------------------------*/
/* Set the architecture and machine type in BFD abfd to arch and mach.
return true;
}
-
/* Sets the contents of the section section in BFD abfd to the data starting
in memory at data. The data is written to the output section starting at
offset offset for count bytes.
return _bfd_save_vms_section(abfd, section, location, offset, count);
}
-
/*-- Part 4.8, linker -------------------------------------------------------*/
/* Get the size of the section headers. */
return 0;
}
-
/* Provides default handling of relocation effort for back ends
which can't be bothered to do it efficiently. */
return 0;
}
-
/* ??? */
static boolean
return true;
}
-
/* Create a hash table for the linker. Different backends store
different information in this table. */
return 0;
}
-
/* Add symbols from this object file into the hash table. */
static boolean
return false;
}
-
/* Do a link based on the link_order structures attached to each
section of the BFD. */
return 0;
}
-
/* Read in the dynamic symbols. */
static long
return 0L;
}
-
/* Get the amount of memory required to hold the dynamic relocs. */
static long
return 0L;
}
-
/* Read in the dynamic relocs. */
static long