View | Details | Return to bug 192
Collapse All | Expand All

(-)a/gcc/varasm.c (-3 / +7 lines)
Lines 829-836 mergeable_string_section (tree decl ATTRIBUTE_UNUSED, Link Here
829
	    }
829
	    }
830
	  if (i == len - unit)
830
	  if (i == len - unit)
831
	    {
831
	    {
832
	      sprintf (name, "%s.str%d.%d", prefix,
832
	      if (flag_data_sections)
833
		       modesize / 8, (int) (align / 8));
833
		sprintf (name, "%s.str%d.%d.%x", prefix,
834
			 modesize / 8, (int) (align / 8),
835
			 iterative_hash (str, TREE_STRING_LENGTH (decl), 0));
836
	      else
837
		sprintf (name, "%s.str%d.%d", prefix,
838
			 modesize / 8, (int) (align / 8));
834
	      flags |= (modesize / 8) | SECTION_MERGE | SECTION_STRINGS;
839
	      flags |= (modesize / 8) | SECTION_MERGE | SECTION_STRINGS;
835
	      return get_section (name, flags, NULL);
840
	      return get_section (name, flags, NULL);
836
	    }
841
	    }
837
- 

Return to bug 192