diff options
author | Tom Rix <trix@redhat.com> | 2002-02-01 05:47:14 +0000 |
---|---|---|
committer | Tom Rix <trix@redhat.com> | 2002-02-01 05:47:14 +0000 |
commit | 3e36d993a97f356f659493d539c089594cd053c1 (patch) | |
tree | 10fd760b250801fba69c3e249afb474ed90b4c4b /include/coff/xcoff.h | |
parent | ba323545ddfcf762bbdc208b89dfa3db97cc7d11 (diff) | |
download | gdb-3e36d993a97f356f659493d539c089594cd053c1.zip gdb-3e36d993a97f356f659493d539c089594cd053c1.tar.gz gdb-3e36d993a97f356f659493d539c089594cd053c1.tar.bz2 |
Support small archive for pre AIX 4.3
Diffstat (limited to 'include/coff/xcoff.h')
-rw-r--r-- | include/coff/xcoff.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/include/coff/xcoff.h b/include/coff/xcoff.h index 98aa047..0bb9d6c 100644 --- a/include/coff/xcoff.h +++ b/include/coff/xcoff.h @@ -606,18 +606,20 @@ struct xcoff_ar_hdr_big `hdr' member has the same size and position in both formats. <bigaf> is the default format, return true even when xcoff_ardata is NULL. */ +#ifndef SMALL_ARCHIVE +/* Creates big archives by default */ #define xcoff_big_format_p(abfd) \ ((NULL != bfd_ardata (abfd) && NULL == xcoff_ardata (abfd)) || \ ((NULL != bfd_ardata (abfd)) && \ (NULL != xcoff_ardata (abfd)) && \ (xcoff_ardata (abfd)->magic[1] == 'b'))) - -/* For testing old format * / -#undef xcoff_big_format_p +#else +/* Creates small archives by default. */ #define xcoff_big_format_p(abfd) \ (((NULL != bfd_ardata (abfd)) && \ (NULL != xcoff_ardata (abfd)) && \ - (xcoff_ardata (abfd)->magic[1] == 'b'))) / **/ + (xcoff_ardata (abfd)->magic[1] == 'b'))) +#endif /* We store a copy of the xcoff_ar_file_hdr in the tdata field of the artdata structure. Similar for the big archive. */ |