diff options
author | Nick Clifton <nickc@redhat.com> | 1999-12-28 00:25:18 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 1999-12-28 00:25:18 +0000 |
commit | b1f10154aa98f33ca7e83bfbaf140832d31c342d (patch) | |
tree | 1c37e6ca5a7e832e421daca410180b2e96e0e63b /bfd/peicode.h | |
parent | 3138f287b13f7f83b9290011391bbf77cbf65da0 (diff) | |
download | gdb-b1f10154aa98f33ca7e83bfbaf140832d31c342d.zip gdb-b1f10154aa98f33ca7e83bfbaf140832d31c342d.tar.gz gdb-b1f10154aa98f33ca7e83bfbaf140832d31c342d.tar.bz2 |
fix PE file format detection
Diffstat (limited to 'bfd/peicode.h')
-rw-r--r-- | bfd/peicode.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bfd/peicode.h b/bfd/peicode.h index 84dfe57..8482b2d 100644 --- a/bfd/peicode.h +++ b/bfd/peicode.h @@ -362,6 +362,7 @@ pe_bfd_copy_private_bfd_data (ibfd, obfd) #define coff_get_symbol_info _bfd_pe_get_symbol_info +#ifdef COFF_IMAGE_WITH_PE static const bfd_target * pe_bfd_object_p (abfd) bfd * abfd; @@ -390,7 +391,8 @@ pe_bfd_object_p (abfd) if (signature == 0xffff0000) { - _bfd_error_handler (_("%s: Import Library Format archives are not currently supported"), + _bfd_error_handler ( +_("%s: Import Library Format archives are not currently supported"), bfd_get_filename (abfd)); bfd_set_error (bfd_error_wrong_format); @@ -442,3 +444,4 @@ pe_bfd_object_p (abfd) } #define coff_object_p pe_bfd_object_p +#endif |