From: Przemyslaw Wirkus <Przemyslaw.Wirkus@arm.com>
To: "Martin Liška" <mliska@suse.cz>, Binutils <binutils@sourceware.org>
Cc: Richard Earnshaw <Richard.Earnshaw@arm.com>,
Marcus Shawcroft <Marcus.Shawcroft@arm.com>
Subject: RE: [PATCH][GAS] arm: add armv9-a architecture to -march
Date: Mon, 15 Nov 2021 20:40:54 +0000 [thread overview]
Message-ID: <PAXPR08MB66218D4B4F91FE853C5CD90CE4989@PAXPR08MB6621.eurprd08.prod.outlook.com> (raw)
In-Reply-To: <PAXPR08MB6621B09477E64E487F194286E4989@PAXPR08MB6621.eurprd08.prod.outlook.com>
> -----Original Message-----
> From: Przemyslaw Wirkus
> Sent: 15 November 2021 11:20
> To: Martin Liška <mliska@suse.cz>; Binutils <binutils@sourceware.org>
> Cc: Richard Earnshaw <Richard.Earnshaw@arm.com>; Marcus Shawcroft
> <Marcus.Shawcroft@arm.com>
> Subject: RE: [PATCH][GAS] arm: add armv9-a architecture to -march
>
> > -----Original Message-----
> > From: Martin Liška <mliska@suse.cz>
> > Sent: 15 November 2021 11:17
> > To: Przemyslaw Wirkus <Przemyslaw.Wirkus@arm.com>; Binutils
> > <binutils@sourceware.org>
> > Cc: Richard Earnshaw <Richard.Earnshaw@arm.com>; Marcus Shawcroft
> > <Marcus.Shawcroft@arm.com>
> > Subject: Re: [PATCH][GAS] arm: add armv9-a architecture to -march
> >
> > Hello.
> >
> > A question: I'm building cross GCC compiler with the latest binutils
> > master, as I see:
> >
> > Error: unknown architecture `armv9-a'
> >
> > Where I configure binutils with --enable-targets=...,armv9l-suse-linux.
> > What am I doing wrong?
Please try with explicit --target flag:
$ cd $BUILD_DIR
$ $BINUTILS_SRC/configure --disable-nsl --prefix=$PREFIX \
--enable-targets=armv9l-suse-linux --target=armv9l-suse-linux
Works fine:
$ cat test.s
.arch armv9-a
nop
nop
$ ./bin/bin/armv9l-suse-linux-as test.s
$ ./bin/bin/armv9l-suse-linux-readelf -A a.out
Attribute Section: aeabi
File Attributes
Tag_CPU_name: "9-A"
Tag_CPU_arch: v9
Tag_CPU_arch_profile: Application
Tag_ARM_ISA_use: Yes
Tag_THUMB_ISA_use: Thumb-2
Tag_Advanced_SIMD_arch: NEON for ARMv8.1
Tag_MPextension_use: Allowed
Tag_Virtualization_use: TrustZone and Virtualization Extensions
> > Can you please add a GAS test-case that 'armv9-a' is accepted for
> > .arch directive?
>
> Of course. I will look into that asap.
>
> Cheers!
>
> > Thanks,
> > Martin
Cheers!
Przemek
next prev parent reply other threads:[~2021-11-15 20:41 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-04 20:24 Przemyslaw Wirkus
2021-10-12 9:10 ` Przemyslaw Wirkus
2021-10-29 11:48 ` Nick Clifton
2021-11-01 10:56 ` Przemyslaw Wirkus
2021-11-15 11:17 ` Martin Liška
2021-11-15 11:19 ` Przemyslaw Wirkus
2021-11-15 20:40 ` Przemyslaw Wirkus [this message]
2021-11-16 8:08 ` Martin Liška
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=PAXPR08MB66218D4B4F91FE853C5CD90CE4989@PAXPR08MB6621.eurprd08.prod.outlook.com \
--to=przemyslaw.wirkus@arm.com \
--cc=Marcus.Shawcroft@arm.com \
--cc=Richard.Earnshaw@arm.com \
--cc=binutils@sourceware.org \
--cc=mliska@suse.cz \
/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).