/* Cast from const char * to char * so that caller can assign to
a char * without a warning. */
#define bfd_get_filename(abfd) ((char *) (abfd)->filename)
+#define bfd_get_cacheable(abfd) ((abfd)->cacheable)
#define bfd_get_format(abfd) ((abfd)->format)
#define bfd_get_target(abfd) ((abfd)->xvec->name)
#define bfd_get_flavour(abfd) ((abfd)->xvec->flavour)
#define bfd_get_symbol_leading_char(abfd) ((abfd)->xvec->symbol_leading_char)
+#define bfd_set_cacheable(abfd,bool) (((abfd)->cacheable = (bool)), true)
+
/* Byte swapping routines. */
bfd_vma bfd_getb64 PARAMS ((unsigned char *));
/* 16 bit relocation relative to the global pointer. */
BFD_RELOC_MIPS_GPREL,
+ /* Relocation against a MIPS literal section. */
+ BFD_RELOC_MIPS_LITERAL,
+
+ /* MIPS ELF relocations. */
+ BFD_RELOC_MIPS_GOT16,
+ BFD_RELOC_MIPS_CALL16,
+ BFD_RELOC_MIPS_GPREL32,
+
/* These are, so far, specific to HPPA processors. I'm not sure that some
don't duplicate other reloc types, such as BFD_RELOC_32 and _32_PCREL.
Also, many more were in the list I got that don't fit in well in the
is the result of an fopen on the filename. */
char *iostream;
- /* Is the file being cached */
+ /* Is the file descriptor being cached? That is, can it be closed as
+ needed, and re-opened when accessed later? */
boolean cacheable;