From: Sebastian Huber <sebastian.huber@embedded-brains.de>
To: Nelson Chu <nelson.chu@sifive.com>, binutils@sourceware.org
Subject: Re: [PATCH v2 1/3] RISC-V: Enable elf attributes when default configure option isn't set.
Date: Fri, 25 Feb 2022 14:57:53 +0100 [thread overview]
Message-ID: <45e2f6a8-bc45-9cb3-8d5e-07b9476e4a35@embedded-brains.de> (raw)
In-Reply-To: <20210709072825.13709-2-nelson.chu@sifive.com>
Hello,
On 09/07/2021 09:28, Nelson Chu wrote:
> Since gcc commit, 3c70b3ca1ef58f302bf8c16d9e7c7bb8626408bf, we now enable
> elf attributes for all riscv targets by default in gcc. Therefore, I
> think binutils should have the same behavior, in case users are writing
> assembly files.
this is probably not directly related to this patch, however, the
riscv.attributes are not covered by the default linker command file:
riscv-rtems6-ld --verbose | grep attrib
.gnu.build.attributes : { *(.gnu.build.attributes
.gnu.build.attributes.*) }
.gnu.attributes 0 : { KEEP (*(.gnu.attributes)) }
Compared to for example:
arm-rtems6-ld --verbose | grep attrib
.gnu.build.attributes : { *(.gnu.build.attributes
.gnu.build.attributes.*) }
.ARM.attributes 0 : { KEEP (*(.ARM.attributes)) KEEP
(*(.gnu.attributes)) }
--
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber@embedded-brains.de
phone: +49-89-18 94 741 - 16
fax: +49-89-18 94 741 - 08
Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
next prev parent reply other threads:[~2022-02-25 13:57 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-09 7:28 [PATCH v2 0/3] RISC-V: The series to supporting mapping symbols Nelson Chu
2021-07-09 7:28 ` [PATCH v2 1/3] RISC-V: Enable elf attributes when default configure option isn't set Nelson Chu
2021-07-09 8:00 ` Kito Cheng
2021-07-13 7:07 ` Nelson Chu
2021-07-13 20:38 ` Palmer Dabbelt
2021-07-15 1:47 ` Nelson Chu
2022-02-25 13:57 ` Sebastian Huber [this message]
2021-07-09 7:28 ` [PATCH v2 2/3] RISC-V: PR27916, Support mapping symbols Nelson Chu
2021-07-15 15:16 ` Palmer Dabbelt
2021-07-16 2:58 ` Nelson Chu
2021-07-09 7:28 ` [PATCH v2 3/3] RISC-V: PR27916, Extend .insn directive to support hardcode encoding Nelson Chu
2021-07-09 8:01 ` Kito Cheng
2021-07-14 20:38 ` Palmer Dabbelt
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=45e2f6a8-bc45-9cb3-8d5e-07b9476e4a35@embedded-brains.de \
--to=sebastian.huber@embedded-brains.de \
--cc=binutils@sourceware.org \
--cc=nelson.chu@sifive.com \
/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: link
Be 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).