From 012a452b43b77eaf0f0f8a48192561702beea958 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Mon, 10 Nov 2003 03:07:52 +0000 Subject: [PATCH] * config/tc-ia64.c (ia64_handle_align): Remove bogus be_nop. --- gas/ChangeLog | 6 +++++- gas/config/tc-ia64.c | 6 ++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 29bb02f5bcf..be5985d50b5 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2003-11-10 Alan Modra + + * config/tc-ia64.c (ia64_handle_align): Remove bogus be_nop. + 2003-11-10 Alan Modra * README: Update bug report address. Move bug reporting info to @@ -113,7 +117,7 @@ (md_begin): Remove F_SOFT_FLOAT if enabling MAVERICK FP. 2003-10-21 Peter Barada - Bernardo Innocenti + Bernardo Innocenti * config/tc-m68k.c: Add MCF528x (MCFv4) support. * config/m68k-parse.h: Likewise. diff --git a/gas/config/tc-ia64.c b/gas/config/tc-ia64.c index 6fb85788d6f..647724bed6c 100644 --- a/gas/config/tc-ia64.c +++ b/gas/config/tc-ia64.c @@ -10744,9 +10744,6 @@ ia64_handle_align (fragp) fragS *fragp; { /* Use mfi bundle of nops with no stop bits. */ - static const unsigned char be_nop[] - = { 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, - 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x0c}; static const unsigned char le_nop[] = { 0x0c, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00}; @@ -10771,7 +10768,8 @@ ia64_handle_align (fragp) fragp->fr_fix += fix; } - memcpy (p, (target_big_endian ? be_nop : le_nop), 16); + /* Instruction bundles are always little-endian. */ + memcpy (p, le_nop, 16); fragp->fr_var = 16; } -- 2.30.2