public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [AArch64][gas][2.25] Backport code formatting fix in the cpu-table
@ 2015-02-16 12:27 Matthew Wahab
  2015-02-17 10:05 ` Marcus Shawcroft
  0 siblings, 1 reply; 2+ messages in thread
From: Matthew Wahab @ 2015-02-16 12:27 UTC (permalink / raw)
  To: binutils

[-- Attachment #1: Type: text/plain, Size: 571 bytes --]

This patch backports to binutils-2.25 code formatting fixes for the 
aarch64_cpus macros in tc-arch64.c/aarch64-cpu table. This will be 
needed to keep the code formatting in gas-2.25 consistent with trunk.

The trunk patch is here: 
https://sourceware.org/ml/binutils/2015-02/msg00148.html
The commit is here: 
https://sourceware.org/ml/binutils-cvs/2015-02/msg00127.html

Tested aarch64-none-linux-gnu with check-gas.

Ok for the branch?
Matthew

gas/
2015-02-16  Matthew Wahab  <matthew.wahab@arm.com>

	* config/tc-aarch64.c: Fix code formatting.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: aarch64-ws-2.25.patch --]
[-- Type: text/x-patch; name=aarch64-ws-2.25.patch, Size: 1290 bytes --]

diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index 0e58764..0fa512e 100644
--- a/gas/config/tc-aarch64.c
+++ b/gas/config/tc-aarch64.c
@@ -7180,17 +7180,17 @@ struct aarch64_cpu_option_table
    recognized by GCC.  */
 static const struct aarch64_cpu_option_table aarch64_cpus[] = {
   {"all", AARCH64_ANY, NULL},
-  {"cortex-a53", AARCH64_FEATURE(AARCH64_ARCH_V8,
-				 AARCH64_FEATURE_CRC), "Cortex-A53"},
-  {"cortex-a57", AARCH64_FEATURE(AARCH64_ARCH_V8,
-				 AARCH64_FEATURE_CRC), "Cortex-A57"},
+  {"cortex-a53", AARCH64_FEATURE (AARCH64_ARCH_V8,
+				  AARCH64_FEATURE_CRC), "Cortex-A53"},
+  {"cortex-a57", AARCH64_FEATURE (AARCH64_ARCH_V8,
+				  AARCH64_FEATURE_CRC), "Cortex-A57"},
   /* The 'xgene-1' name is an older name for 'xgene1', which was used
      in earlier releases and is superseded by 'xgene1' in all
      tools.  */
   {"xgene-1", AARCH64_ARCH_V8, "APM X-Gene 1"},
   {"xgene1", AARCH64_ARCH_V8, "APM X-Gene 1"},
-  {"xgene2", AARCH64_FEATURE(AARCH64_ARCH_V8,
-			     AARCH64_FEATURE_CRC), "APM X-Gene 2"},
+  {"xgene2", AARCH64_FEATURE (AARCH64_ARCH_V8,
+			      AARCH64_FEATURE_CRC), "APM X-Gene 2"},
   {"generic", AARCH64_ARCH_V8, NULL},
 
   /* These two are example CPUs supported in GCC, once we have real

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [AArch64][gas][2.25] Backport code formatting fix in the cpu-table
  2015-02-16 12:27 [AArch64][gas][2.25] Backport code formatting fix in the cpu-table Matthew Wahab
@ 2015-02-17 10:05 ` Marcus Shawcroft
  0 siblings, 0 replies; 2+ messages in thread
From: Marcus Shawcroft @ 2015-02-17 10:05 UTC (permalink / raw)
  To: Matthew Wahab; +Cc: binutils

On 16 February 2015 at 12:27, Matthew Wahab <matthew.wahab@arm.com> wrote:
> This patch backports to binutils-2.25 code formatting fixes for the
> aarch64_cpus macros in tc-arch64.c/aarch64-cpu table. This will be needed to
> keep the code formatting in gas-2.25 consistent with trunk.
>
> The trunk patch is here:
> https://sourceware.org/ml/binutils/2015-02/msg00148.html
> The commit is here:
> https://sourceware.org/ml/binutils-cvs/2015-02/msg00127.html
>
> Tested aarch64-none-linux-gnu with check-gas.
>
> Ok for the branch?
> Matthew
>
> gas/
> 2015-02-16  Matthew Wahab  <matthew.wahab@arm.com>
>
>         * config/tc-aarch64.c: Fix code formatting.

We would not normally back port code formatting patches to release
branches.  I don;t see any reason to make an exception for this one.
/Marcus

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-02-17 10:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-16 12:27 [AArch64][gas][2.25] Backport code formatting fix in the cpu-table Matthew Wahab
2015-02-17 10:05 ` Marcus Shawcroft

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).