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 | |
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')
-rw-r--r-- | gas/ChangeLog | 4 | ||||
-rw-r--r-- | gas/config/tc-ppc.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 60c355c..50d61f8 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2013-11-08 Jan-Benedict Glaw <jbglaw@lug-owl.de + + * config/tc-ppc.c (ppc_elf_localentry): Add cast. + 2013-11-05 Yufeng Zhang <yufeng.zhang@arm.com> * config/tc-aarch64.c (parse_sys_reg): Update to use aarch64_sys_reg; 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 |