Fix compile time warnings
This commit is contained in:
parent
8d9a59afb1
commit
fc08ed56c3
@ -1,3 +1,7 @@
|
|||||||
|
2001-09-21 Nick Clifton <nickc@cambridge.redhat.com>
|
||||||
|
|
||||||
|
* ti.h (GET_SCNHDR_PAGE): Fix compile time warning.
|
||||||
|
|
||||||
2001-09-18 Alan Modra <amodra@bigpond.net.au>
|
2001-09-18 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
* external.h (GET_LINENO_LNNO): Use H_GET_32/16.
|
* external.h (GET_LINENO_LNNO): Use H_GET_32/16.
|
||||||
|
@ -219,7 +219,7 @@ struct external_scnhdr {
|
|||||||
#define PUT_SCNHDR_FLAGS(ABFD, VAL, PTR) \
|
#define PUT_SCNHDR_FLAGS(ABFD, VAL, PTR) \
|
||||||
(COFF2_P (ABFD) ? H_PUT_32 (ABFD, VAL, PTR) : H_PUT_16 (ABFD, VAL, (PTR) -4))
|
(COFF2_P (ABFD) ? H_PUT_32 (ABFD, VAL, PTR) : H_PUT_16 (ABFD, VAL, (PTR) -4))
|
||||||
#define GET_SCNHDR_PAGE(ABFD, PTR) \
|
#define GET_SCNHDR_PAGE(ABFD, PTR) \
|
||||||
(COFF2_P (ABFD) ? H_GET_16 (ABFD, PTR) : H_GET_8 (ABFD, (PTR) -7))
|
(COFF2_P (ABFD) ? H_GET_16 (ABFD, PTR) : (unsigned) H_GET_8 (ABFD, (PTR) -7))
|
||||||
/* on output, make sure that the "reserved" field is zero */
|
/* on output, make sure that the "reserved" field is zero */
|
||||||
#define PUT_SCNHDR_PAGE(ABFD, VAL, PTR) \
|
#define PUT_SCNHDR_PAGE(ABFD, VAL, PTR) \
|
||||||
(COFF2_P (ABFD) \
|
(COFF2_P (ABFD) \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user