OSDN Git Service

Fix compile time warnings.
authorNick Clifton <nickc@redhat.com>
Sat, 24 Mar 2001 00:45:11 +0000 (00:45 +0000)
committerNick Clifton <nickc@redhat.com>
Sat, 24 Mar 2001 00:45:11 +0000 (00:45 +0000)
include/coff/ChangeLog
include/coff/a29k.h
include/coff/external.h
include/coff/m88k.h

index cf17074..2341019 100644 (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
index 3b601f8..673e716 100644 (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"
 
 /*--------------------------------------------------------------*/
index b584f30..6fd41f1 100644 (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));
index 44fbca4..3863564 100644 (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