From 1f573a795dfcc69b66a3a1542b56ca99fd4816e7 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 21 Apr 1994 15:58:02 +0000 Subject: [PATCH] * internal.h (struct nlm_internal_cygnus_section_header): Define. * external.h (struct nlmNAME(external_cygnus_section_header): Define. --- include/nlm/ChangeLog | 6 ++++++ include/nlm/external.h | 12 ++++++++++++ include/nlm/internal.h | 15 +++++++++++++++ 3 files changed, 33 insertions(+) diff --git a/include/nlm/ChangeLog b/include/nlm/ChangeLog index 7d19533..60e8773 100644 --- a/include/nlm/ChangeLog +++ b/include/nlm/ChangeLog @@ -1,3 +1,9 @@ +Thu Apr 21 11:57:09 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * internal.h (struct nlm_internal_cygnus_section_header): Define. + * external.h (struct nlmNAME(external_cygnus_section_header): + Define. + Wed Apr 20 14:27:43 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * internal.h (struct nlm_internal_custom_header): Remove diff --git a/include/nlm/external.h b/include/nlm/external.h index 70262ed..aedc565 100644 --- a/include/nlm/external.h +++ b/include/nlm/external.h @@ -162,3 +162,15 @@ typedef struct nlmNAME(external_custom_header) unsigned char dataLength[NLM_TARGET_LONG_SIZE]; } NlmNAME(External_Custom_Header); + +typedef struct nlmNAME(external_cygnus_section_header) +{ + + /* The header is recognized by "CyGnUsSeCs" in the stamp field. */ + char stamp[10]; + + unsigned char offset[NLM_TARGET_LONG_SIZE]; + + unsigned char length[NLM_TARGET_LONG_SIZE]; + +} NlmNAME(External_Cygnus_Section_Header); diff --git a/include/nlm/internal.h b/include/nlm/internal.h index 3597efb..024c5d6 100644 --- a/include/nlm/internal.h +++ b/include/nlm/internal.h @@ -282,3 +282,18 @@ typedef struct nlm_internal_custom_header #define Nlm32_Internal_Custom_Header Nlm_Internal_Custom_Header #define nlm64_internal_custom_header nlm_internal_custom_header #define Nlm64_Internal_Custom_Header Nlm_Internal_Custom_Header + +typedef struct nlm_internal_cygnus_section_header +{ + /* The header is recognized by "CyGnUsSeCs" in the stamp field. */ + char stamp[10]; + /* File location of debugging information. */ + file_ptr offset; + /* Length of debugging information. */ + bfd_size_type length; +} Nlm_Internal_Cygnus_Section_Header; + +#define nlm32_internal_cygnus_section_header nlm_internal_cygnus_section_header +#define Nlm32_Internal_Cygnus_Section_Header Nlm_Internal_Cygnus_Section_Header +#define nlm64_internal_cygnus_section_header nlm_internal_cygnus_section_header +#define Nlm64_Internal_Cygnus_Section_Header Nlm_Internal_Cygnus_Section_Header -- 2.7.4