This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
more alpha nop tweaks
- From: Richard Henderson <rth at redhat dot com>
- To: binutils at sources dot redhat dot com
- Date: Tue, 22 Jan 2002 01:54:21 -0800
- Subject: more alpha nop tweaks
bfd/
* elf64-alpha.c (INSN_UNOP): Encode with RB as $sp.
Missed this one with the others changed in December.
ld/
* emulparams/elf64alpha.sh (NOP): Use unop.
Unop schedules better on ev4. It doesn't matter elsewhere.
r~
Index: bfd/elf64-alpha.c
===================================================================
RCS file: /cvs/src/src/bfd/elf64-alpha.c,v
retrieving revision 1.52
diff -c -p -d -r1.52 elf64-alpha.c
*** elf64-alpha.c 2001/12/17 22:44:12 1.52
--- elf64-alpha.c 2002/01/22 09:40:23
*************** elf64_alpha_info_to_howto (abfd, cache_p
*** 941,947 ****
#define OP_LDQ 0x29
#define OP_BR 0x30
#define OP_BSR 0x34
! #define INSN_UNOP 0x2fe00000
struct alpha_relax_info
{
--- 941,947 ----
#define OP_LDQ 0x29
#define OP_BR 0x30
#define OP_BSR 0x34
! #define INSN_UNOP 0x2ffe0000
struct alpha_relax_info
{
Index: ld/emulparams/elf64alpha.sh
===================================================================
RCS file: /cvs/src/src/ld/emulparams/elf64alpha.sh,v
retrieving revision 1.7
diff -c -p -d -r1.7 elf64alpha.sh
*** elf64alpha.sh 2001/11/22 09:08:04 1.7
--- elf64alpha.sh 2002/01/22 09:40:24
*************** ARCH=alpha
*** 10,16 ****
MACHINE=
GENERATE_SHLIB_SCRIPT=yes
DATA_PLT=
! NOP=0x47ff041f
OTHER_READONLY_SECTIONS="
.reginfo ${RELOCATING-0} : { *(.reginfo) }"
--- 10,16 ----
MACHINE=
GENERATE_SHLIB_SCRIPT=yes
DATA_PLT=
! NOP=0x2ffe0000 # unop
OTHER_READONLY_SECTIONS="
.reginfo ${RELOCATING-0} : { *(.reginfo) }"