public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Sebastian Huber <sh@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-8614] RTEMS: Add multilib configuration for aarch64 Date: Wed, 17 Apr 2024 07:40:32 +0000 (GMT) [thread overview] Message-ID: <20240417074032.8169E3858D20@sourceware.org> (raw) https://gcc.gnu.org/g:b68995dcafa3412bcf0bfd19947758d807527dd2 commit r13-8614-gb68995dcafa3412bcf0bfd19947758d807527dd2 Author: Sebastian Huber <sebastian.huber@embedded-brains.de> Date: Mon Mar 25 08:00:02 2024 +0100 RTEMS: Add multilib configuration for aarch64 Add a multilib with workarounds for Cortex-A53 errata. gcc/ChangeLog: * config.gcc (aarch64-*-rtems*): Add target makefile fragment t-aarch64-rtems. * config/aarch64/t-aarch64-rtems: New file. (cherry picked from commit ddee4376d15ddde9280c9a6725ddd76bf33f2871) Diff: --- gcc/config.gcc | 1 + gcc/config/aarch64/t-aarch64-rtems | 42 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/gcc/config.gcc b/gcc/config.gcc index 648b3dc2110..c3b73d05eb7 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -1139,6 +1139,7 @@ aarch64*-*-elf | aarch64*-*-fuchsia* | aarch64*-*-rtems*) ;; aarch64-*-rtems*) tm_file="${tm_file} aarch64/rtems.h rtems.h" + tmake_file="${tmake_file} aarch64/t-aarch64-rtems" ;; esac case $target in diff --git a/gcc/config/aarch64/t-aarch64-rtems b/gcc/config/aarch64/t-aarch64-rtems new file mode 100644 index 00000000000..7598d636165 --- /dev/null +++ b/gcc/config/aarch64/t-aarch64-rtems @@ -0,0 +1,42 @@ +# Multilibs for aarch64 RTEMS targets. +# +# Copyright (C) 2024 Free Software Foundation, Inc. +# +# This file is part of GCC. +# +# GCC is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# GCC is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GCC; see the file COPYING3. If not see +# <http://www.gnu.org/licenses/>. + +MULTILIB_OPTIONS = +MULTILIB_DIRNAMES = +MULTILIB_REQUIRED = + +MULTILIB_OPTIONS += mabi=ilp32 +MULTILIB_DIRNAMES += ilp32 + +MULTILIB_OPTIONS += mno-outline-atomics +MULTILIB_DIRNAMES += nooa + +MULTILIB_OPTIONS += mcpu=cortex-a53 +MULTILIB_DIRNAMES += a53 + +MULTILIB_OPTIONS += mfix-cortex-a53-835769 +MULTILIB_DIRNAMES += fix835769 + +MULTILIB_OPTIONS += mfix-cortex-a53-843419 +MULTILIB_DIRNAMES += fix843419 + +MULTILIB_REQUIRED += mabi=ilp32 +MULTILIB_REQUIRED += mabi=ilp32/mno-outline-atomics/mcpu=cortex-a53/mfix-cortex-a53-835769/mfix-cortex-a53-843419 +MULTILIB_REQUIRED += mno-outline-atomics/mcpu=cortex-a53/mfix-cortex-a53-835769/mfix-cortex-a53-843419
reply other threads:[~2024-04-17 7:40 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=20240417074032.8169E3858D20@sourceware.org \ --to=sh@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).