-
-
Notifications
You must be signed in to change notification settings - Fork 363
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix compiler warnings gnu/arc*.c syscall.c print.c debug_gdb.c #1227
Conversation
@@ -86,8 +86,9 @@ typedef enum | |||
#define PUT_NEXT_WORD_IN(a) \ | |||
do \ | |||
{ \ | |||
if (is_limm == 1 && !NEXT_WORD (1)) \ | |||
if (is_limm == 1 && !NEXT_WORD (1)) { \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please note, that this file is copied from binutils:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, i know.
@@ -99,8 +99,9 @@ static bfd_vma bfd_getm32_ac (unsigned int) ATTRIBUTE_UNUSED; | |||
#define FIELDS9_FLAG(word) (((BITS(((signed int)(word)),0,5) << 6) | (BITS((word),6,11))) ) | |||
|
|||
#define PUT_NEXT_WORD_IN(a) { \ | |||
if (is_limm==1 && !NEXT_WORD(1)) \ | |||
mwerror(state, "Illegal limm reference in last instruction!\n"); \ | |||
if (is_limm==1 && !NEXT_WORD(1)) { \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one as well.
SQUASH ME
Your checklist for this pull request
Detailed description
Resolves the NULL format warnings and a leak in rz_syscall