aboutsummaryrefslogtreecommitdiff
path: root/bfd/libcoff.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1996-05-02 02:27:55 +0000
committerIan Lance Taylor <ian@airs.com>1996-05-02 02:27:55 +0000
commite8f3bb64b57920133a43a8ed5dea4369bf356667 (patch)
tree9f3ed3e443bb018c046addf338a50573ed1e7c15 /bfd/libcoff.h
parentae105b8e5a08ce1d22c6c46285e0d00828097bfc (diff)
downloadgdb-e8f3bb64b57920133a43a8ed5dea4369bf356667.zip
gdb-e8f3bb64b57920133a43a8ed5dea4369bf356667.tar.gz
gdb-e8f3bb64b57920133a43a8ed5dea4369bf356667.tar.bz2
* coffcode.h (STRING_SIZE_SIZE): Define.
(bfd_coff_backend_data): Add _bfd_coff_long_section_names field. (bfd_coff_long_section_names): Define. (coff_write_object_contents): Handle long section names. (bfd_coff_std_swap_table): Initialize new field. * libcoff.h: Rebuild. * coffgen.c (make_a_section_from_file): Handle long section names. (coff_write_symbols): Handle long section names. * coff-alpha.c (alpha_ecoff_backend_data): Initialize new field. * coff-mips.c (mips_ecoff_backend_data): Likewise. * pe-arm.c (COFF_LONG_SECTION_NAMES): Define. * pei-arm.c (COFF_LONG_SECTION_NAMES): Define. * pe-i386.c (COFF_LONG_SECTION_NAMES): Define. * pei-i386.c (COFF_LONG_SECTION_NAMES): Define. * pe-ppc.c (COFF_LONG_SECTION_NAMES): Define. * pei-ppc.c (COFF_LONG_SECTION_NAMES): Define.
Diffstat (limited to 'bfd/libcoff.h')
-rw-r--r--bfd/libcoff.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/libcoff.h b/bfd/libcoff.h
index 307e2f7..3e8a46d 100644
--- a/bfd/libcoff.h
+++ b/bfd/libcoff.h
@@ -617,6 +617,7 @@ typedef struct
unsigned int _bfd_relsz;
unsigned int _bfd_linesz;
boolean _bfd_coff_long_filenames;
+ boolean _bfd_coff_long_section_names;
void (*_bfd_coff_swap_filehdr_in) PARAMS ((
bfd *abfd,
PTR ext,
@@ -768,6 +769,8 @@ typedef struct
#define bfd_coff_relsz(abfd) (coff_backend_info (abfd)->_bfd_relsz)
#define bfd_coff_linesz(abfd) (coff_backend_info (abfd)->_bfd_linesz)
#define bfd_coff_long_filenames(abfd) (coff_backend_info (abfd)->_bfd_coff_long_filenames)
+#define bfd_coff_long_section_names(abfd) \
+ (coff_backend_info (abfd)->_bfd_coff_long_section_names)
#define bfd_coff_swap_filehdr_in(abfd, i,o) \
((coff_backend_info (abfd)->_bfd_coff_swap_filehdr_in) (abfd, i, o))