diff options
author | Fred Fish <fnf@specifix.com> | 1993-07-20 22:07:39 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1993-07-20 22:07:39 +0000 |
commit | f03b1f0d44b7b45484b5225e927dfec2998afed7 (patch) | |
tree | db9dbbd436a472c5eeb6274d80d021d0a7e9c329 /bfd/libnlm.h | |
parent | df61743d3ee6b72c98e921f828a93e6890a200b8 (diff) | |
download | gdb-f03b1f0d44b7b45484b5225e927dfec2998afed7.zip gdb-f03b1f0d44b7b45484b5225e927dfec2998afed7.tar.gz gdb-f03b1f0d44b7b45484b5225e927dfec2998afed7.tar.bz2 |
* libnlm.h (nlm_obj_tdata): Rename hidden struct members to avoid
apparent Sun C preprocessor recursion. Fix access macros.
* nlmcode.h: Remove spurious '&' before several array references.
Diffstat (limited to 'bfd/libnlm.h')
-rw-r--r-- | bfd/libnlm.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/bfd/libnlm.h b/bfd/libnlm.h index 33824b9..eb8d8f5 100644 --- a/bfd/libnlm.h +++ b/bfd/libnlm.h @@ -74,21 +74,21 @@ extern boolean bfd_nlm64_set_arch_mach struct nlm_obj_tdata { /* Actual data, but ref like ptr */ - Nlm_Internal_Fixed_Header nlm_fixed_header[1]; - Nlm_Internal_Variable_Header nlm_variable_header[1]; - Nlm_Internal_Version_Header nlm_version_header[1]; - Nlm_Internal_Copyright_Header nlm_copyright_header[1]; - Nlm_Internal_Extended_Header nlm_extended_header[1]; - Nlm_Internal_Custom_Header nlm_custom_header[1]; + Nlm_Internal_Fixed_Header nlm_fixed_hdr[1]; + Nlm_Internal_Variable_Header nlm_variable_hdr[1]; + Nlm_Internal_Version_Header nlm_version_hdr[1]; + Nlm_Internal_Copyright_Header nlm_copyright_hdr[1]; + Nlm_Internal_Extended_Header nlm_extended_hdr[1]; + Nlm_Internal_Custom_Header nlm_custom_hdr[1]; }; #define nlm_tdata(bfd) ((bfd) -> tdata.nlm_obj_data) -#define nlm_fixed_header(bfd) (nlm_tdata(bfd) -> nlm_fixed_header) -#define nlm_variable_header(bfd) (nlm_tdata(bfd) -> nlm_variable_header) -#define nlm_version_header(bfd) (nlm_tdata(bfd) -> nlm_version_header) -#define nlm_copyright_header(bfd) (nlm_tdata(bfd) -> nlm_copyright_header) -#define nlm_extended_header(bfd) (nlm_tdata(bfd) -> nlm_extended_header) -#define nlm_custom_header(bfd) (nlm_tdata(bfd) -> nlm_custom_header) +#define nlm_fixed_header(bfd) (nlm_tdata(bfd) -> nlm_fixed_hdr) +#define nlm_variable_header(bfd) (nlm_tdata(bfd) -> nlm_variable_hdr) +#define nlm_version_header(bfd) (nlm_tdata(bfd) -> nlm_version_hdr) +#define nlm_copyright_header(bfd) (nlm_tdata(bfd) -> nlm_copyright_hdr) +#define nlm_extended_header(bfd) (nlm_tdata(bfd) -> nlm_extended_hdr) +#define nlm_custom_header(bfd) (nlm_tdata(bfd) -> nlm_custom_hdr) /* The NLM code, data, and uninitialized sections have no names defined in the NLM, but bfd wants to give them names, so use the traditional |