public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/marxin/heads/casm-refactoring-v5)] Section fix.
@ 2021-10-22 14:53 Martin Liska
0 siblings, 0 replies; only message in thread
From: Martin Liska @ 2021-10-22 14:53 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:a668a597357eeb7a6eebfe9a2fb53c9d58dc7612
commit a668a597357eeb7a6eebfe9a2fb53c9d58dc7612
Author: Martin Liska <mliska@suse.cz>
Date: Fri Oct 22 16:52:45 2021 +0200
Section fix.
Diff:
---
gcc/varasm.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gcc/varasm.c b/gcc/varasm.c
index bb95e34fc36..3ddabca9421 100644
--- a/gcc/varasm.c
+++ b/gcc/varasm.c
@@ -6615,7 +6615,8 @@ asm_out_state::asm_out_state ()
emit_bss);
#endif
- sec.readonly_data = sec.text;
+ if (sec.readonly_data == NULL)
+ sec.readonly_data = sec.text;
}
void
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-10-22 14:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-22 14:53 [gcc(refs/users/marxin/heads/casm-refactoring-v5)] Section fix Martin Liska
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).