diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2015-11-19 11:49:32 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2015-11-19 11:49:32 +0000 |
commit | 05f44cf5de90b7adf109cda8ad30f6fa0268b9ca (patch) | |
tree | 4a1420d7be65a1b2b0d9b39c44ac34efd9397a20 | |
parent | dfc3d7a8a25f7235578a4f4547aa95dacf53fcb6 (diff) | |
download | gcc-05f44cf5de90b7adf109cda8ad30f6fa0268b9ca.zip gcc-05f44cf5de90b7adf109cda8ad30f6fa0268b9ca.tar.gz gcc-05f44cf5de90b7adf109cda8ad30f6fa0268b9ca.tar.bz2 |
re PR target/68408 (broken support for attribute init_priority)
PR target/68408
* config/sparc/sp-elf.h (CTORS_SECTION_ASM_OP): Undefine.
(DTORS_SECTION_ASM_OP): Likewise.
From-SVN: r230598
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/sparc/sp-elf.h | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5eb0646..558b789 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2015-11-19 Eric Botcazou <ebotcazou@adacore.com> + + PR target/68408 + * config/sparc/sp-elf.h (CTORS_SECTION_ASM_OP): Undefine. + (DTORS_SECTION_ASM_OP): Likewise. + 2015-11-19 Jakub Jelinek <jakub@redhat.com> PR rtl-optimization/68376 diff --git a/gcc/config/sparc/sp-elf.h b/gcc/config/sparc/sp-elf.h index 371bb6a..932e443 100644 --- a/gcc/config/sparc/sp-elf.h +++ b/gcc/config/sparc/sp-elf.h @@ -53,6 +53,10 @@ along with GCC; see the file COPYING3. If not see #undef ASM_GENERATE_INTERNAL_LABEL #define ASM_GENERATE_INTERNAL_LABEL(LABEL,PREFIX,NUM) \ sprintf ((LABEL), "*.L%s%ld", (PREFIX), (long)(NUM)) + +/* We use GNU ld so undefine this so that attribute((init_priority)) works. */ +#undef CTORS_SECTION_ASM_OP +#undef DTORS_SECTION_ASM_OP /* ??? Inherited from sol2.h. Probably wrong. */ #undef WCHAR_TYPE |