diff options
Diffstat (limited to 'gas/config/tc-bpf.c')
-rw-r--r-- | gas/config/tc-bpf.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gas/config/tc-bpf.c b/gas/config/tc-bpf.c index 7c7d22e..b742f42 100644 --- a/gas/config/tc-bpf.c +++ b/gas/config/tc-bpf.c @@ -174,6 +174,8 @@ md_begin (void) gas_cgen_cpu_desc = bpf_cgen_cpu_open (CGEN_CPU_OPEN_ENDIAN, target_big_endian ? CGEN_ENDIAN_BIG : CGEN_ENDIAN_LITTLE, + CGEN_CPU_OPEN_INSN_ENDIAN, + CGEN_ENDIAN_LITTLE, CGEN_CPU_OPEN_ISAS, bpf_isa, CGEN_CPU_OPEN_END); @@ -354,10 +356,6 @@ md_assemble (char *str) CGEN_INSN_INT buffer[CGEN_MAX_INSN_SIZE / sizeof (CGEN_INT_INSN_P)]; #else unsigned char buffer[CGEN_MAX_INSN_SIZE]; - memset (buffer, 0, CGEN_MAX_INSN_SIZE); /* XXX to remove when CGEN - is fixed to handle - opcodes-in-words - properly. */ #endif gas_cgen_init_parse (); |