diff options
author | Jan-Benedict Glaw <jbglaw@lug-owl.de> | 2013-11-11 09:35:51 +0100 |
---|---|---|
committer | Jan-Benedict Glaw <jbglaw@lug-owl.de> | 2013-11-11 09:35:51 +0100 |
commit | e2b5892e6e75109898db1cfbda2975fa422ba762 (patch) | |
tree | b4651b7ab71e0db616799986f1e0aafc84915e1a /gas/config | |
parent | 14b5f73fac0e34c2fca81aa0dfbc9c7eebc922f2 (diff) | |
download | gdb-e2b5892e6e75109898db1cfbda2975fa422ba762.zip gdb-e2b5892e6e75109898db1cfbda2975fa422ba762.tar.gz gdb-e2b5892e6e75109898db1cfbda2975fa422ba762.tar.bz2 |
2013-11-08 Jan-Benedict Glaw <jbglaw@lug-owl.de
* config/tc-ppc.c (ppc_elf_localentry): Add cast.
[BR]: https://sourceware.org/ml/binutils/2013-11/msg00064.html
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-ppc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c index 822f5a2..7c99e43 100644 --- a/gas/config/tc-ppc.c +++ b/gas/config/tc-ppc.c @@ -2269,7 +2269,7 @@ ppc_elf_localentry (int ignore ATTRIBUTE_UNUSED) { unsigned char encoded = PPC64_SET_LOCAL_ENTRY_OFFSET (exp.X_add_number); - if (exp.X_add_number != PPC64_LOCAL_ENTRY_OFFSET (encoded)) + if (exp.X_add_number != (offsetT) PPC64_LOCAL_ENTRY_OFFSET (encoded)) as_bad (_(".localentry expression for `%s' " "is not a valid power of 2"), S_GET_NAME (sym)); else |