Fix usage of H_GET_32/16. Likewise with H_PUT_32/16.

This commit is contained in:
Nick Clifton
2001-10-26 10:57:04 +00:00
parent 02cc9f49ae
commit a9306dbdc6
2 changed files with 9 additions and 4 deletions

View File

@ -113,12 +113,12 @@ struct external_lineno
#define LINESZ (4 + L_LNNO_SIZE)
#if L_LNNO_SIZE == 4
#define GET_LINENO_LNNO H_GET_32
#define PUT_LINENO_LNNO H_PUT_32
#define GET_LINENO_LNNO(abfd, ext) H_GET_32 (abfd, (ext->l_lnno))
#define PUT_LINENO_LNNO(abfd, val, ext) H_PUT_32 (abfd, val, (ext->l_lnno))
#endif
#if L_LNNO_SIZE == 2
#define GET_LINENO_LNNO H_GET_16
#define PUT_LINENO_LNNO H_PUT_16
#define GET_LINENO_LNNO(abfd, ext) H_GET_16 (abfd, (ext->l_lnno))
#define PUT_LINENO_LNNO(abfd, val, ext) H_PUT_16 (abfd, val, (ext->l_lnno))
#endif
#endif /* not DO_NOT_DEFINE_LINENO */