diff options
Diffstat (limited to 'bfd/elf32-csky.c')
-rw-r--r-- | bfd/elf32-csky.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/bfd/elf32-csky.c b/bfd/elf32-csky.c index 395e6ff..8d48a03 100644 --- a/bfd/elf32-csky.c +++ b/bfd/elf32-csky.c @@ -3927,9 +3927,7 @@ csky_relocate_contents (reloc_howto_type *howto, unsigned int rightshift = howto->rightshift; unsigned int bitpos = howto->bitpos; - /* If the size is negative, negate RELOCATION. This isn't very - general. */ - if (howto->size < 0) + if (howto->negate) relocation = -relocation; /* FIXME: these macros should be defined at file head or head file head. */ |