Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/binutils/dist/gas/config Fix assembling "isb s...



details:   https://anonhg.NetBSD.org/src/rev/3cae0772055f
branches:  trunk
changeset: 1015290:3cae0772055f
user:      rin <rin%NetBSD.org@localhost>
date:      Mon Oct 19 12:47:53 2020 +0000

description:
Fix assembling "isb sy" for aarch64{,eb} on LP64BE architectures.
Cherry-picked from upstream:

https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=05cfb0d8cc9b7f8676f5ae55a93642f091d5405f;hp=0ec992e6647c00fc234cdf4c11732b6711b024af

Now, working kernel can be self-built on aarch64eb.

Thanks to ryo@ for fixing and upstreaming this!

diffstat:

 external/gpl3/binutils/dist/gas/config/tc-aarch64.c |  8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)

diffs (25 lines):

diff -r 876c0eec2470 -r 3cae0772055f external/gpl3/binutils/dist/gas/config/tc-aarch64.c
--- a/external/gpl3/binutils/dist/gas/config/tc-aarch64.c       Mon Oct 19 12:46:04 2020 +0000
+++ b/external/gpl3/binutils/dist/gas/config/tc-aarch64.c       Mon Oct 19 12:47:53 2020 +0000
@@ -250,12 +250,6 @@
 typedef struct
 {
   const char *template;
-  unsigned long value;
-} asm_barrier_opt;
-
-typedef struct
-{
-  const char *template;
   uint32_t value;
 } asm_nzcv;
 
@@ -3994,7 +3988,7 @@
 parse_barrier (char **str)
 {
   char *p, *q;
-  const asm_barrier_opt *o;
+  const struct aarch64_name_value_pair *o;
 
   p = q = *str;
   while (ISALPHA (*q))



Home | Main Index | Thread Index | Old Index