summaryrefslogtreecommitdiff
path: root/bfd/peicode.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-12-21 18:40:21 +0000
committerNick Clifton <nickc@redhat.com>2000-12-21 18:40:21 +0000
commitde29f34c7aa505f4d930b4279cfef142d4a975c3 (patch)
tree650fb13932c24d7af37f8e6b4dfaa1a28d46e910 /bfd/peicode.h
parent341995e5f1980f9e347c63c23b4e7fb819531bd0 (diff)
downloadbinutils-redhat-de29f34c7aa505f4d930b4279cfef142d4a975c3.tar.gz
Fixes to allow sources to compile under Solaris 2.8
Diffstat (limited to 'bfd/peicode.h')
-rw-r--r--bfd/peicode.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/bfd/peicode.h b/bfd/peicode.h
index 9071c72b29..22ddb2a359 100644
--- a/bfd/peicode.h
+++ b/bfd/peicode.h
@@ -137,7 +137,7 @@ static asection_ptr pe_ILF_make_a_section PARAMS ((pe_ILF_vars *, const
static void pe_ILF_make_a_reloc PARAMS ((pe_ILF_vars *, bfd_vma, bfd_reloc_code_real_type, asection_ptr));
static void pe_ILF_make_a_symbol PARAMS ((pe_ILF_vars *, const char *, const char *, asection_ptr, flagword));
static void pe_ILF_save_relocs PARAMS ((pe_ILF_vars *, asection_ptr));
-static void pe_ILF_make_a_symbol_reloc PARAMS ((pe_ILF_vars *, bfd_vma, bfd_reloc_code_real_type, struct symbol_cache_entry **, unsigned int));
+static void pe_ILF_make_a_symbol_reloc PARAMS ((pe_ILF_vars *, bfd_vma, bfd_reloc_code_real_type, struct symbol_cache_entry **, unsigned int));
static boolean pe_ILF_build_a_bfd PARAMS ((bfd *, unsigned short, bfd_byte *, bfd_byte *, unsigned int, unsigned int));
static const bfd_target * pe_ILF_object_p PARAMS ((bfd *));
static const bfd_target * pe_bfd_object_p PARAMS ((bfd *));
@@ -989,10 +989,10 @@ pe_ILF_build_a_bfd (bfd * abfd,
if (magic == MIPS_ARCH_MAGIC_WINCE)
{
pe_ILF_make_a_symbol_reloc (& vars, 0, BFD_RELOC_HI16_S,
- (asection **) imp_sym, imp_index);
+ (struct symbol_cache_entry **) imp_sym, imp_index);
pe_ILF_make_a_reloc (& vars, 0, BFD_RELOC_LO16, text);
pe_ILF_make_a_symbol_reloc (& vars, 4, BFD_RELOC_LO16,
- (asection **) imp_sym, imp_index);
+ (struct symbol_cache_entry **) imp_sym, imp_index);
}
else
#endif
@@ -1169,7 +1169,7 @@ pe_ILF_object_p (bfd * abfd)
case IMAGE_FILE_MACHINE_THUMB:
#ifdef THUMBPEMAGIC
{
- extern bfd_target TARGET_LITTLE_SYM;
+ extern const bfd_target TARGET_LITTLE_SYM;
if (abfd->xvec == & TARGET_LITTLE_SYM)
magic = THUMBPEMAGIC;