forked from Minki/linux
[SPARC]: Add unsigned to unused bit field in a.out.h
Add unsigned to unused bit field in a.out.h to make sparse happy. [ I took care of the sparc64 side as well -DaveM ] Signed-off-by: Robert Reif <reif@earthlink.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
5c0efdbc1b
commit
d80f0a4beb
@ -80,7 +80,7 @@ struct relocation_info /* used when header.a_machtype == M_SPARC */
|
||||
unsigned long r_address; /* relocation addr */
|
||||
unsigned int r_index:24; /* segment index or symbol index */
|
||||
unsigned int r_extern:1; /* if F, r_index==SEG#; if T, SYM idx */
|
||||
int r_pad:2; /* <unused> */
|
||||
unsigned int r_pad:2; /* <unused> */
|
||||
enum reloc_type r_type:5; /* type of relocation to perform */
|
||||
long r_addend; /* addend for relocation value */
|
||||
};
|
||||
|
@ -86,7 +86,7 @@ struct relocation_info /* used when header.a_machtype == M_SPARC */
|
||||
unsigned int r_address; /* relocation addr */
|
||||
unsigned int r_index:24; /* segment index or symbol index */
|
||||
unsigned int r_extern:1; /* if F, r_index==SEG#; if T, SYM idx */
|
||||
int r_pad:2; /* <unused> */
|
||||
unsigned int r_pad:2; /* <unused> */
|
||||
enum reloc_type r_type:5; /* type of relocation to perform */
|
||||
int r_addend; /* addend for relocation value */
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user