Take into account MEMORY regions when creating a segment map.
This commit is contained in:
parent
bc455088cf
commit
ba4dd41480
|
@ -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>
|
2007-02-17 Mark Mitchell <mark@codesourcery.com>
|
||||||
Nathan Sidwell <nathan@codesourcery.com>
|
Nathan Sidwell <nathan@codesourcery.com>
|
||||||
Vladimir Prus <vladimir@codesourcery.com
|
Vladimir Prus <vladimir@codesourcery.com
|
||||||
|
|
|
@ -566,6 +566,13 @@ struct bfd_link_callbacks
|
||||||
/* General link info message. */
|
/* General link info message. */
|
||||||
void (*einfo)
|
void (*einfo)
|
||||||
(const char *fmt, ...);
|
(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
|
/* The linker builds link_order structures which tell the code how to
|
||||||
|
|
Loading…
Reference in New Issue