summaryrefslogtreecommitdiff
path: root/include/bfdlink.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2007-02-21 16:43:50 +0000
committerNick Clifton <nickc@redhat.com>2007-02-21 16:43:50 +0000
commitb608e4bd0b3520545a2541559a3c535e6ce32112 (patch)
tree81b23d0ef5c683029afb72672550392f440cf407 /include/bfdlink.h
parenteb984146c118755824a953076fe91ba758cb990a (diff)
downloadbinutils-redhat-b608e4bd0b3520545a2541559a3c535e6ce32112.tar.gz
Take into account MEMORY regions when creating a segment map.
Diffstat (limited to 'include/bfdlink.h')
-rw-r--r--include/bfdlink.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/bfdlink.h b/include/bfdlink.h
index 6842243d09..46e3cf5c54 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