[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:
Robert Reif 2007-03-28 14:21:08 -07:00 коммит произвёл David S. Miller
Родитель 5c0efdbc1b
Коммит d80f0a4beb
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -80,7 +80,7 @@ struct relocation_info /* used when header.a_machtype == M_SPARC */
unsigned long r_address; /* relocation addr */ unsigned long r_address; /* relocation addr */
unsigned int r_index:24; /* segment index or symbol index */ unsigned int r_index:24; /* segment index or symbol index */
unsigned int r_extern:1; /* if F, r_index==SEG#; if T, SYM idx */ 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 */ enum reloc_type r_type:5; /* type of relocation to perform */
long r_addend; /* addend for relocation value */ 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_address; /* relocation addr */
unsigned int r_index:24; /* segment index or symbol index */ unsigned int r_index:24; /* segment index or symbol index */
unsigned int r_extern:1; /* if F, r_index==SEG#; if T, SYM idx */ 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 */ enum reloc_type r_type:5; /* type of relocation to perform */
int r_addend; /* addend for relocation value */ int r_addend; /* addend for relocation value */
}; };