From d62734337d37be78de53e39cf9dea110da4957fa Mon Sep 17 00:00:00 2001 From: Sean Keys Date: Mon, 29 Oct 2012 21:28:09 +0000 Subject: [PATCH] * elf32-xgate.c(elf_xgate_howto_table): Fix src and dest mask for R_XGATE_16 --- bfd/ChangeLog | 5 +++++ bfd/elf32-xgate.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 956a04eb1e7..202a8dbe9d1 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2012-10-29 Sean Keys + + * elf32-xgate.c(elf_xgate_howto_table): Fix src and dest mask for + R_XGATE_16 + 2012-10-29 Alan Modra * elf32-ppc.c (ppc_elf_howto_raw): Correct dst_mask in diff --git a/bfd/elf32-xgate.c b/bfd/elf32-xgate.c index bd62438eff4..2169c569b44 100644 --- a/bfd/elf32-xgate.c +++ b/bfd/elf32-xgate.c @@ -106,8 +106,8 @@ static reloc_howto_type elf_xgate_howto_table[] = bfd_elf_generic_reloc, /* special_function */ "R_XGATE_16", /* name */ FALSE, /* partial_inplace */ - 0x00ff, /* src_mask */ - 0x00ff, /* dst_mask */ + 0xffff, /* src_mask */ + 0xffff, /* dst_mask */ FALSE), /* pcrel_offset */ /* A 32 bit absolute relocation. This one is never used for the -- 2.30.2