re PR middle-end/192 (String literals don't obey -fdata-sections)
authorSegher Boessenkool <segher@kernel.crashing.org>
Thu, 7 May 2015 15:51:01 +0000 (17:51 +0200)
committerSegher Boessenkool <segher@gcc.gnu.org>
Thu, 7 May 2015 15:51:01 +0000 (17:51 +0200)
commita3facd7c6cdc2d72a001603170a1602743b11803
treec237d1d086b2ff3ac3a26e02f820dd718ddab7e9
parent302f83f948e4bf516488f6d4a293251824b84fda
re PR middle-end/192 (String literals don't obey -fdata-sections)

PR middle-end/192
PR middle-end/54303
* varasm.c (function_mergeable_rodata_prefix): New function.
(mergeable_string_section): Use it.
(mergeable_constant_section): Use it.

gcc/testsuite/
* gcc.dg/fdata-sections-2.c: New file.

From-SVN: r222880
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/fdata-sections-2.c [new file with mode: 0644]
gcc/varasm.c