aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfd-in2.h
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1993-11-05 08:34:09 +0000
committerJohn Gilmore <gnu@cygnus>1993-11-05 08:34:09 +0000
commit0a197a969c8a100d2c852649749eb05a099c8f07 (patch)
treeb46420b867ca8b4dc1d2948682118ebc06d0f903 /bfd/bfd-in2.h
parent073cca33d1ae765fdcc67384b43e7829ea1ea616 (diff)
downloadgdb-0a197a969c8a100d2c852649749eb05a099c8f07.zip
gdb-0a197a969c8a100d2c852649749eb05a099c8f07.tar.gz
gdb-0a197a969c8a100d2c852649749eb05a099c8f07.tar.bz2
Check in version built from changed bfd-in.h.
Diffstat (limited to 'bfd/bfd-in2.h')
-rw-r--r--bfd/bfd-in2.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index 9ace168..37c319e 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;