Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-03-24 03:45:11 +0300
committerNick Clifton <nickc@redhat.com>2001-03-24 03:45:11 +0300
commit5fa78238cbef3882ee19c8671b8c33dd4c7a22be (patch)
tree5fd5e2ae6502a2462e3335a062e1f8588aa98398 /include
parentc5807d7f9488e67855050b9e1fd5efe5a8c79a0a (diff)
Fix compile time warnings.
Diffstat (limited to 'include')
-rw-r--r--include/coff/ChangeLog6
-rw-r--r--include/coff/a29k.h1
-rw-r--r--include/coff/external.h4
-rw-r--r--include/coff/m88k.h2
4 files changed, 9 insertions, 4 deletions
diff --git a/include/coff/ChangeLog b/include/coff/ChangeLog
index cf17074ab..2341019f7 100644
--- a/include/coff/ChangeLog
+++ b/include/coff/ChangeLog
@@ -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
diff --git a/include/coff/a29k.h b/include/coff/a29k.h
index 3b601f821..673e71696 100644
--- a/include/coff/a29k.h
+++ b/include/coff/a29k.h
@@ -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"
/*--------------------------------------------------------------*/
diff --git a/include/coff/external.h b/include/coff/external.h
index b584f30f9..6fd41f19c 100644
--- a/include/coff/external.h
+++ b/include/coff/external.h
@@ -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));
diff --git a/include/coff/m88k.h b/include/coff/m88k.h
index 44fbca491..3863564a0 100644
--- a/include/coff/m88k.h
+++ b/include/coff/m88k.h
@@ -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