aboutsummaryrefslogtreecommitdiff
path: root/include/coff/external.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-09-18 10:01:08 +0000
committerAlan Modra <amodra@gmail.com>2001-09-18 10:01:08 +0000
commit2eda3bbc9d93a6124ed8933b0bb87b0f992e31c5 (patch)
tree20588eaeb29395fae29566e51efc2172509af3c2 /include/coff/external.h
parent5cc4813b22e7b362c68bcab015f5b13b373e2b80 (diff)
downloadgdb-2eda3bbc9d93a6124ed8933b0bb87b0f992e31c5.zip
gdb-2eda3bbc9d93a6124ed8933b0bb87b0f992e31c5.tar.gz
gdb-2eda3bbc9d93a6124ed8933b0bb87b0f992e31c5.tar.bz2
* external.h (GET_LINENO_LNNO): Use H_GET_32/16.
(PUT_LINENO_LNNO): Use H_PUT_32/16. * m88k.h (GET_LNSZ_SIZE, GET_LNSZ_LNNO, GET_SCN_NRELOC, GET_SCN_NLINNO): Use H_GET_32. (PUT_LNSZ_LNNO, PUT_LNSZ_SIZE, PUT_SCN_NRELOC, PUT_SCN_NLINNO): Use H_PUT_32. * ti.h: Formatting fixes. Make use of H_GET_* and H_PUT_* throughout. * xcoff.h: White space changes.
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 6fd41f1..1e5f028 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(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 H_GET_32
+#define PUT_LINENO_LNNO H_PUT_32
#endif
#if L_LNNO_SIZE == 2
-#define GET_LINENO_LNNO(abfd, ext) bfd_h_get_16 (abfd, (bfd_byte *) (ext->l_lnno));
-#define PUT_LINENO_LNNO(abfd,val, ext) bfd_h_put_16 (abfd,val, (bfd_byte *) (ext->l_lnno));
+#define GET_LINENO_LNNO H_GET_16
+#define PUT_LINENO_LNNO H_PUT_16
#endif
#endif /* not DO_NOT_DEFINE_LINENO */