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:
parent
9df0660400
commit
9f4a23d06a
|
@ -247,12 +247,6 @@ set_fatal_syntax_error (const char *error)
|
||||||
present. */
|
present. */
|
||||||
#define COND_ALWAYS 0x10
|
#define COND_ALWAYS 0x10
|
||||||
|
|
||||||
typedef struct
|
|
||||||
{
|
|
||||||
const char *template;
|
|
||||||
unsigned long value;
|
|
||||||
} asm_barrier_opt;
|
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
const char *template;
|
const char *template;
|
||||||
|
@ -3994,7 +3988,7 @@ static int
|
||||||
parse_barrier (char **str)
|
parse_barrier (char **str)
|
||||||
{
|
{
|
||||||
char *p, *q;
|
char *p, *q;
|
||||||
const asm_barrier_opt *o;
|
const struct aarch64_name_value_pair *o;
|
||||||
|
|
||||||
p = q = *str;
|
p = q = *str;
|
||||||
while (ISALPHA (*q))
|
while (ISALPHA (*q))
|
||||||
|
|
Loading…
Reference in New Issue