forked from pool/gcc12
Rev devel:gcc/9 Md5 46dc4d84bba3dfff19b5e14e949b60c9 2022-01-19 13:41:03 rguenther None
This commit is contained in:
parent
fcf51d5a1d
commit
f00a0ffa3e
@ -1,4 +1,4 @@
|
|||||||
varasm.c: Always output flags in merged .section for LLVM assembler compatibility [PR97827]
|
varasm.cc: Always output flags in merged .section for LLVM assembler compatibility [PR97827]
|
||||||
|
|
||||||
For compatibility with LLVM 11's 'mc' assembler, the flags have to be
|
For compatibility with LLVM 11's 'mc' assembler, the flags have to be
|
||||||
repeated every time. See also LLVM Bug 48201 for this issue and
|
repeated every time. See also LLVM Bug 48201 for this issue and
|
||||||
@ -6,13 +6,13 @@ https://reviews.llvm.org/D73999 for the patch causing the issue.
|
|||||||
|
|
||||||
gcc/
|
gcc/
|
||||||
PR target/97827
|
PR target/97827
|
||||||
* varasm.c (default_elf_asm_named_section): Always output all
|
* varasm.cc (default_elf_asm_named_section): Always output all
|
||||||
flags if SECTION_MERGE, even if already declared before.
|
flags if SECTION_MERGE, even if already declared before.
|
||||||
|
|
||||||
diff --git a/gcc/varasm.c b/gcc/varasm.c
|
diff --git a/gcc/varasm.cc b/gcc/varasm.cc
|
||||||
index 21be03aeba2..9cb46885aa5 100644
|
index 21be03aeba2..9cb46885aa5 100644
|
||||||
--- a/gcc/varasm.c
|
--- a/gcc/varasm.cc
|
||||||
+++ b/gcc/varasm.c
|
+++ b/gcc/varasm.cc
|
||||||
@@ -6792,10 +6792,13 @@ default_elf_asm_named_section (const char *name, unsigned int flags,
|
@@ -6792,10 +6792,13 @@ default_elf_asm_named_section (const char *name, unsigned int flags,
|
||||||
/* If we have already declared this section, we can use an
|
/* If we have already declared this section, we can use an
|
||||||
abbreviated form to switch back to it -- unless this section is
|
abbreviated form to switch back to it -- unless this section is
|
||||||
|
Loading…
Reference in New Issue
Block a user