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!
This commit is contained in:
rin 2020-10-19 12:47:53 +00:00
parent 9df0660400
commit 9f4a23d06a
1 changed files with 1 additions and 7 deletions

View File

@ -247,12 +247,6 @@ set_fatal_syntax_error (const char *error)
present. */
#define COND_ALWAYS 0x10
typedef struct
{
const char *template;
unsigned long value;
} asm_barrier_opt;
typedef struct
{
const char *template;
@ -3994,7 +3988,7 @@ static int
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))