diff options
author | Michael Meissner <gnu@the-meissners.org> | 1997-10-16 12:19:16 +0000 |
---|---|---|
committer | Michael Meissner <gnu@the-meissners.org> | 1997-10-16 12:19:16 +0000 |
commit | 04e4681226b98a9e6b7ca27f976bdd1ca2e9ed33 (patch) | |
tree | 35ade15c869e0dbd343a7fb9d7c6041b1bf0e193 /bfd | |
parent | ea985d2472613f02e531ca5c937799bc8c9e9398 (diff) | |
download | gdb-04e4681226b98a9e6b7ca27f976bdd1ca2e9ed33.zip gdb-04e4681226b98a9e6b7ca27f976bdd1ca2e9ed33.tar.gz gdb-04e4681226b98a9e6b7ca27f976bdd1ca2e9ed33.tar.bz2 |
Fix mangled patch
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/peicode.h | 14 |
2 files changed, 7 insertions, 12 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 9a2155e..0b93708 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +Thu Oct 16 08:17:06 1997 Michael Meissner <meissner@cygnus.com> + + * peicode.h (coff_swap_scnhdr_out,pr_print_idata): Fix mangled + patch. + Wed Oct 15 13:45:10 1997 Ian Lance Taylor <ian@cygnus.com> * peicode.h (pe_mkobject_hook): Set DLL flag. diff --git a/bfd/peicode.h b/bfd/peicode.h index 9335507..1a45ad2 100644 --- a/bfd/peicode.h +++ b/bfd/peicode.h @@ -1163,16 +1163,8 @@ coff_swap_scnhdr_out (abfd, in, out) IMAGE_SCN_MEM_READ | IMAGE_SCN_MEM_WRITE ; else if (strncmp (scnhdr_int->s_name, ".drectve", 8) == 0) flags = IMAGE_SCN_LNK_INFO | IMAGE_SCN_LNK_REMOVE ; -#ifdef POWERPC_LE_PE - else if (strncmp (scnhdr_int->s_name, ".stabstr", 8) == 0) - { - flags = IMAGE_SCN_LNK_INFO; - } - else if (strcmp (scnhdr_int->s_name, ".stab") == 0) - { - flags = IMAGE_SCN_LNK_INFO; - } -#endif + else if (strncmp (scnhdr_int->s_name, ".stab", 5) == 0) + flags |= IMAGE_SCN_LNK_INFO | IMAGE_SCN_MEM_DISCARDABLE; else flags = IMAGE_SCN_MEM_READ; @@ -1237,8 +1229,6 @@ pe_print_idata(abfd, vfile) #ifdef POWERPC_LE_PE asection *rel_section = bfd_get_section_by_name (abfd, ".reldata"); #endif - else if (strncmp (scnhdr_int->s_name, ".stab", 5) == 0) - flags |= IMAGE_SCN_LNK_INFO | IMAGE_SCN_MEM_DISCARDABLE; bfd_size_type datasize = 0; bfd_size_type i; |