diff src/unexelfsgi.c @ 274:ca9a9ec9c1c1 r21-0b35

Import from CVS: tag r21-0b35
author cvs
date Mon, 13 Aug 2007 10:29:42 +0200
parents 157b30c96d03
children 90d73dddcdc4
line wrap: on
line diff
--- a/src/unexelfsgi.c	Mon Aug 13 10:28:54 2007 +0200
+++ b/src/unexelfsgi.c	Mon Aug 13 10:29:42 2007 +0200
@@ -668,6 +668,9 @@
   old_sbss_index = find_section (".sbss", old_section_names,
 				 old_name, old_file_h, old_section_h, 1);
 
+  if (old_sbss_index != -1 && (OLD_SECTION_H (old_sbss_index).sh_type == SHT_PROGBITS))
+    old_sbss_index = -1;
+
   /* Find the old .bss section. */
 
   old_bss_index = find_section (".bss", old_section_names,