Take into account MEMORY regions when creating a segment map.

This commit is contained in:
Nick Clifton 2007-02-21 16:43:50 +00:00
parent bc455088cf
commit ba4dd41480
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2007-02-21 Nick Clifton <nickc@redhat.com>
* bfdlink.h (struct bfd_link_callbacks): Add
override_segment_assignment field.
2007-02-17 Mark Mitchell <mark@codesourcery.com>
Nathan Sidwell <nathan@codesourcery.com>
Vladimir Prus <vladimir@codesourcery.com

View File

@ -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