diff options
author | Eric Christopher <echristo@gmail.com> | 2017-06-22 10:57:52 -0700 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2017-06-22 11:01:13 -0700 |
commit | e652757bad63e4cf8c0c72df6e95c0c826f8e29d (patch) | |
tree | 6fbf04124602b43deeea470a2ccca273d9e37916 /bfd/elf32-arm.c | |
parent | 329b5ba137687c4cf00413534a08ec33c8acb556 (diff) | |
download | gdb-e652757bad63e4cf8c0c72df6e95c0c826f8e29d.zip gdb-e652757bad63e4cf8c0c72df6e95c0c826f8e29d.tar.gz gdb-e652757bad63e4cf8c0c72df6e95c0c826f8e29d.tar.bz2 |
2017-06-22 Eric Christopher <echristo@gmail.com>
* elf32-arm.c (elf32_arm_final_link_relocate): Use labs rather than
abs to fix a truncation warning.
Diffstat (limited to 'bfd/elf32-arm.c')
-rw-r--r-- | bfd/elf32-arm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c index 3bfe312..e499b0e 100644 --- a/bfd/elf32-arm.c +++ b/bfd/elf32-arm.c @@ -10508,7 +10508,7 @@ elf32_arm_final_link_relocate (reloc_howto_type * howto, /* PR 21523: Use an absolute value. The user of this reloc will have already selected an ADD or SUB insn appropriately. */ - value = abs (relocation); + value = labs (relocation); if (value >= 0x1000) return bfd_reloc_overflow; |