aboutsummaryrefslogtreecommitdiff
path: root/bfd/libcoff.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-09-07 04:28:27 +0000
committerIan Lance Taylor <ian@airs.com>1999-09-07 04:28:27 +0000
commit692b7d62e873949b437e6d9ae68d5526e49e5916 (patch)
treee8af322a04a896c05d3de2d8a2b981b60fdd32d9 /bfd/libcoff.h
parent4c117b10b2d627169cead79488c4e0196cf896d2 (diff)
downloadgdb-692b7d62e873949b437e6d9ae68d5526e49e5916.zip
gdb-692b7d62e873949b437e6d9ae68d5526e49e5916.tar.gz
gdb-692b7d62e873949b437e6d9ae68d5526e49e5916.tar.bz2
* coffcode.h (bfd_coff_backend_data): Add _bfd_filnmlen field.
(bfd_coff_filnmlen): Define. (bfd_coff_std_swap_table): Initialize new field. * coffgen.c (coff_fix_symbol_name): Use bfd_coff_filnmlen rather than FILNMLEN. (coff_write_symbols): Likewise. (coff_get_normalized_symtab): Likewise. * coff-sh.c (bfd_coff_small_swap_table): Initialize new field. * libcoff.h: Rebuild.
Diffstat (limited to 'bfd/libcoff.h')
-rw-r--r--bfd/libcoff.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/libcoff.h b/bfd/libcoff.h
index 0bad48b..bee4ce9 100644
--- a/bfd/libcoff.h
+++ b/bfd/libcoff.h
@@ -709,6 +709,7 @@ typedef struct
unsigned int _bfd_auxesz;
unsigned int _bfd_relsz;
unsigned int _bfd_linesz;
+ unsigned int _bfd_filnmlen;
boolean _bfd_coff_long_filenames;
boolean _bfd_coff_long_section_names;
unsigned int _bfd_coff_default_section_alignment_power;
@@ -870,6 +871,7 @@ typedef struct
#define bfd_coff_auxesz(abfd) (coff_backend_info (abfd)->_bfd_auxesz)
#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_filnmlen(abfd) (coff_backend_info (abfd)->_bfd_filnmlen)
#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)