diff options
author | Nick Clifton <nickc@redhat.com> | 2000-12-21 18:40:21 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2000-12-21 18:40:21 +0000 |
commit | cc9ed9da96321ceab2f68cb5ea8084bc58519372 (patch) | |
tree | 1cf66ef65f5e8f426f2eb3013db93e9adf18da3c /bfd/peicode.h | |
parent | 3af5b728ebcfe35309f82e97ee758aef0f7025e4 (diff) | |
download | gdb-cc9ed9da96321ceab2f68cb5ea8084bc58519372.tar.gz |
Fixes to allow sources to compile under Solaris 2.8
Diffstat (limited to 'bfd/peicode.h')
-rw-r--r-- | bfd/peicode.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bfd/peicode.h b/bfd/peicode.h index 9071c72b29e..22ddb2a3596 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; |