From 0a197a969c8a100d2c852649749eb05a099c8f07 Mon Sep 17 00:00:00 2001 From: John Gilmore Date: Fri, 5 Nov 1993 08:34:09 +0000 Subject: [PATCH] Check in version built from changed bfd-in.h. --- bfd/bfd-in2.h | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index 9ace168547..37c319e79c 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -418,6 +418,7 @@ CAT(NAME,_bfd_make_debug_symbol) /* 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) @@ -437,6 +438,8 @@ CAT(NAME,_bfd_make_debug_symbol) #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 *)); @@ -1236,6 +1239,14 @@ typedef enum bfd_reloc_code_real /* 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 @@ -1495,7 +1506,8 @@ struct _bfd 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;