diff options
author | Nick Clifton <nickc@redhat.com> | 2007-02-21 16:43:50 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2007-02-21 16:43:50 +0000 |
commit | 95125595f35afe5588d3cada881b2fe2056c2854 (patch) | |
tree | 32df14e0cb17152dae003518ca1870b124810727 /include/bfdlink.h | |
parent | 259dad350eb5b9e214703a43a283db6c0ad98c39 (diff) | |
download | gdb-95125595f35afe5588d3cada881b2fe2056c2854.tar.gz |
Take into account MEMORY regions when creating a segment map.
Diffstat (limited to 'include/bfdlink.h')
-rw-r--r-- | include/bfdlink.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/bfdlink.h b/include/bfdlink.h index 6842243d094..46e3cf5c546 100644 --- a/include/bfdlink.h +++ b/include/bfdlink.h @@ -566,6 +566,13 @@ struct bfd_link_callbacks /* General link info message. */ void (*einfo) (const char *fmt, ...); + /* This callback provides a chance for users of the BFD library to + override its decision about whether to place two adjacent sections + into the same segment. */ + bfd_boolean (*override_segment_assignment) + (struct bfd_link_info *, bfd * abfd, + asection * current_section, asection * previous_section, + bfd_boolean new_segment); }; /* The linker builds link_order structures which tell the code how to |