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 /gcc/config | |
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
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/sparc/sp-elf.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 |