From: Ian Lance Taylor Date: Thu, 21 Apr 1994 15:58:02 +0000 (+0000) Subject: * internal.h (struct nlm_internal_cygnus_section_header): Define. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1f573a795dfcc69b66a3a1542b56ca99fd4816e7;p=binutils-gdb.git * internal.h (struct nlm_internal_cygnus_section_header): Define. * external.h (struct nlmNAME(external_cygnus_section_header): Define. --- diff --git a/include/nlm/ChangeLog b/include/nlm/ChangeLog index 7d19533c312..60e87739b40 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 70262ed6f6b..aedc565de79 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 3597efbcb11..024c5d6be6f 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