diff options
author | Nick Clifton <nickc@redhat.com> | 2004-06-21 14:40:41 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2004-06-21 14:40:41 +0000 |
commit | 05576f107c90440f15fa8a03e009c3f541af0b75 (patch) | |
tree | 6613981828279df1f2539f974535f2e6edcbe731 | |
parent | 68908a3e59989683df181a6c3bb8d6cd67f7fa06 (diff) | |
download | gdb-05576f107c90440f15fa8a03e009c3f541af0b75.zip gdb-05576f107c90440f15fa8a03e009c3f541af0b75.tar.gz gdb-05576f107c90440f15fa8a03e009c3f541af0b75.tar.bz2 |
* coffcode.h (styp_to_sec_flags): Ignore IMAGE_SCN_MEM_NOT_PAGED flags.
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/coffcode.h | 8 |
2 files changed, 13 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index d475a27..79c506e 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2004-06-21 Nick Clifton <nickc@redhat.com> + + * coffcode.h (styp_to_sec_flags): Ignore IMAGE_SCN_MEM_NOT_PAGED + flags. + 2004-06-17 Jerome Guitton <guitton@gnat.com> * bfd-in.h (bfd_cache_close_all): New function declaration. diff --git a/bfd/coffcode.h b/bfd/coffcode.h index d58d8b0..d261d86 100644 --- a/bfd/coffcode.h +++ b/bfd/coffcode.h @@ -1063,7 +1063,15 @@ styp_to_sec_flags (abfd, hdr, name, section, flags_ptr) unhandled = "IMAGE_SCN_MEM_NOT_CACHED"; break; case IMAGE_SCN_MEM_NOT_PAGED: +#if 0 unhandled = "IMAGE_SCN_MEM_NOT_PAGED"; +#else + /* Generate a warning message rather using the 'unhandled' + variable as this will allow some .sys files generate by + other toolchains to be processed. See bugzilla issue 196. */ + _bfd_error_handler (_("%s: Warning: Ignoring section flag IMAGE_SCN_MEM_NOT_PAGED in section %s"), + bfd_archive_filename (abfd), name); +#endif break; case IMAGE_SCN_MEM_EXECUTE: sec_flags |= SEC_CODE; |