Fix compile time warnings.

This commit is contained in:
Nick Clifton 2001-03-24 00:45:11 +00:00
parent c5807d7f94
commit 5fa78238cb
4 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2001-03-23 Nick Clifton <nickc@redhat.com>
* a29k.h: Fix compile time warning.
* external.h: Fix compile time warning.
* m88k.h: Fix compile time warning.
2001-03-13 Nick Clifton <nickc@redhat.com>
* external.h: New file. Common structure definitions found in

View File

@ -55,6 +55,7 @@
#define NMAGIC 0410 /* separate i/d executable */
#define SHMAGIC 0406 /* NYU/Ultra3 shared data executable
(writable text) */
#undef _ETEXT
#define _ETEXT "_etext"
/*--------------------------------------------------------------*/

View File

@ -113,8 +113,8 @@ struct external_lineno
#define LINESZ (4 + L_LNNO_SIZE)
#if L_LNNO_SIZE == 4
#define GET_LINENO_LNNO(abfd, ext) bfd_h_get_32 (abfd, (bfd_byte *) (ext->l_lnno));
#define PUT_LINENO_LNNO(abfd,val, ext) bfd_h_put_32 (abfd,val, (bfd_byte *) (ext->l_lnno));
#define GET_LINENO_LNNO(abfd, ext) bfd_h_get_32 (abfd, (bfd_byte *) (ext->l_lnno));
#define PUT_LINENO_LNNO(abfd, val, ext) bfd_h_put_32 (abfd, val, (bfd_byte *) (ext->l_lnno));
#endif
#if L_LNNO_SIZE == 2
#define GET_LINENO_LNNO(abfd, ext) bfd_h_get_16 (abfd, (bfd_byte *) (ext->l_lnno));

View File

@ -172,8 +172,6 @@ union external_auxent
#define PUT_SCN_SCNLEN(abfd,in, ext) bfd_h_put_32(abfd, in, (bfd_byte *) ext->x_scn.x_scnlen)
#define PUT_SCN_NRELOC(abfd,in, ext) bfd_h_put_32(abfd, in, (bfd_byte *)ext->x_scn.x_nreloc)
#define PUT_SCN_NLINNO(abfd,in, ext) bfd_h_put_32(abfd,in, (bfd_byte *) ext->x_scn.x_nlinno)
#define GET_LINENO_LNNO(abfd, ext) bfd_h_get_32(abfd, (bfd_byte *) (ext->l_lnno))
#define PUT_LINENO_LNNO(abfd,val, ext) bfd_h_put_32(abfd,val, (bfd_byte *) (ext->l_lnno));
#define SYMENT struct external_syment
#define SYMESZ 20