public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Rasmus Villemoes <villemoes@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-4932] gcc: vx-common.h: fix test for VxWorks7 Date: Fri, 5 Nov 2021 08:42:32 +0000 (GMT) [thread overview] Message-ID: <20211105084232.7DEA03858D35@sourceware.org> (raw) https://gcc.gnu.org/g:44d0243a247dd1280265c649dab26e9486ffa015 commit r12-4932-g44d0243a247dd1280265c649dab26e9486ffa015 Author: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Date: Tue Nov 2 11:43:57 2021 +0100 gcc: vx-common.h: fix test for VxWorks7 The macro TARGET_VXWORKS7 is always defined (see vxworks-dummy.h). Thus we need to test its value, not its definedness. Fixes aca124df (define NO_DOT_IN_LABEL only in vxworks6). gcc/ChangeLog: * config/vx-common.h: Test value of TARGET_VXWORKS7 rather than definedness. Diff: --- gcc/config/vx-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/vx-common.h b/gcc/config/vx-common.h index 7dd4dee536e..a436bf14074 100644 --- a/gcc/config/vx-common.h +++ b/gcc/config/vx-common.h @@ -97,7 +97,7 @@ along with GCC; see the file COPYING3. If not see /* ------------------------ Misc configuration bits ---------------------- */ -#ifndef TARGET_VXWORKS7 +#if !TARGET_VXWORKS7 /* VxWorks, prior to version 7, could not have dots in constructor labels, because it used a mutant variation of collect2 that generates C code instead of assembly. Thus each constructor label
reply other threads:[~2021-11-05 8:42 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20211105084232.7DEA03858D35@sourceware.org \ --to=villemoes@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).