aboutsummaryrefslogtreecommitdiff
path: root/bfd/libcoff.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-06-15 09:03:14 +0000
committerNick Clifton <nickc@redhat.com>2001-06-15 09:03:14 +0000
commit7c8ca0e48870359d2841611bb4550b2edbcbff95 (patch)
tree482660bfe3ed9355b8fe0896e0d0420b796b2489 /bfd/libcoff.h
parent6770ec8c9e2d99d05dee69c17c6458ba242bdfa1 (diff)
downloadgdb-7c8ca0e48870359d2841611bb4550b2edbcbff95.zip
gdb-7c8ca0e48870359d2841611bb4550b2edbcbff95.tar.gz
gdb-7c8ca0e48870359d2841611bb4550b2edbcbff95.tar.bz2
Chnage styp_flags_to_sec_flags() to a boolean function
Diffstat (limited to 'bfd/libcoff.h')
-rw-r--r--bfd/libcoff.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/bfd/libcoff.h b/bfd/libcoff.h
index 34fed2d..76a5d24 100644
--- a/bfd/libcoff.h
+++ b/bfd/libcoff.h
@@ -753,11 +753,12 @@ typedef struct
bfd *abfd,
PTR internal_filehdr,
PTR internal_aouthdr));
- flagword (*_bfd_styp_to_sec_flags_hook) PARAMS ((
+ boolean (*_bfd_styp_to_sec_flags_hook) PARAMS ((
bfd *abfd,
PTR internal_scnhdr,
const char *name,
- asection *section));
+ asection *section,
+ flagword *flags_ptr));
void (*_bfd_set_alignment_hook) PARAMS ((
bfd *abfd,
asection *sec,
@@ -911,9 +912,9 @@ typedef struct
#define bfd_coff_mkobject_hook(abfd, filehdr, aouthdr)\
((coff_backend_info (abfd)->_bfd_coff_mkobject_hook) (abfd, filehdr, aouthdr))
-#define bfd_coff_styp_to_sec_flags_hook(abfd, scnhdr, name, section)\
+#define bfd_coff_styp_to_sec_flags_hook(abfd, scnhdr, name, section, flags_ptr)\
((coff_backend_info (abfd)->_bfd_styp_to_sec_flags_hook)\
- (abfd, scnhdr, name, section))
+ (abfd, scnhdr, name, section, flags_ptr))
#define bfd_coff_set_alignment_hook(abfd, sec, scnhdr)\
((coff_backend_info (abfd)->_bfd_set_alignment_hook) (abfd, sec, scnhdr))