[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/16924] PowerPC Relocation R_PPC_ADDR16 is using the wrong overfl
From: |
amodra at gmail dot com |
Subject: |
[Bug ld/16924] PowerPC Relocation R_PPC_ADDR16 is using the wrong overflow checker |
Date: |
Thu, 08 May 2014 23:33:25 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=16924
Alan Modra <amodra at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |amodra at gmail dot com
--- Comment #1 from Alan Modra <amodra at gmail dot com> ---
Have you tried mainline binutils? A patch I committed 2014-03-08 ought to have
fixed this issue.
BTW, it's not so simple as just changing from complain_overflow_bitfield to
complain_overflow_signed. If you're using ADDR16 relocs on for example, ori,
then you want unsigned overflow checking! Which is why the old code used
complain_overflow_bitfield..
Search elf32-ppc.c for the following comment
/* 16-bit fields in insns mostly have signed values, but a
few insns have 16-bit unsigned values. Really, we should
have different reloc types. */
--
You are receiving this mail because:
You are on the CC list for the bug.