Commit 50f9c79e authored by Jan-Benedict Glaw's avatar Jan-Benedict Glaw Committed by Alan Modra

ppc: signed/unsigned comparison

[BR]: https://sourceware.org/ml/binutils/2013-11/msg00064.html
(cherry picked from commit e2b5892e6e75109898db1cfbda2975fa422ba762)
parent ac6f50a1
2013-11-15 Alan Modra <amodra@gmail.com>
Apply changes from mainline to 2.24
2013-11-08 Jan-Benedict Glaw <jbglaw@lug-owl.de
* config/tc-ppc.c (ppc_elf_localentry): Add cast.
2013-10-30 Ulrich Weigand <uweigand@de.ibm.com>
* config/tc-ppc.c (md_pseudo_table): Add .localentry.
(ppc_elf_localentry): New function.
......
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment