https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77422
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77422
--- Comment #6 from Richard Biener ---
I agree with Jakub.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77422
--- Comment #5 from Jakub Jelinek ---
I don't really like that. The linker has all the info to remove unused
mergeable constants or strings, so if it doesn't do that now, it should be
changed to do that.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77422
--- Comment #4 from H.J. Lu ---
Created attachment 39526
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39526&action=edit
A patch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77422
--- Comment #3 from H.J. Lu ---
(In reply to Jakub Jelinek from comment #2)
> That doesn't make sense. The mergeable sections really need to be the same,
> otherwise nothing gets merged. And, unused constants/strings in those can
> be removed i
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77422
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
--- Comment #2
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77422
H.J. Lu changed:
What|Removed |Added
Summary|-fdata-sections should put |-fdata-sections should put
|