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-10-26 14:57:04 +0400
committerNick Clifton <nickc@redhat.com>2001-10-26 14:57:04 +0400
commit93b4d0cfe19888e13f35022839cc0e072f654180 (patch)
tree402acecb5e220f991b742cb86c810fb9ce2863f0 /include/coff/external.h
parentfe00cca93e9d7e511d1e751e26b9476443772a4e (diff)
Fix usage of H_GET_32/16. Likewise with H_PUT_32/16.
Diffstat (limited to 'include/coff/external.h')
-rw-r--r--include/coff/external.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/coff/external.h b/include/coff/external.h
index 1e5f0280e..19636dab7 100644
--- a/include/coff/external.h
+++ b/include/coff/external.h
@@ -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 */