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 | 2889e75bfb63b5638dffb3bf9ae598e85af86af9 (patch) | |
tree | 9168e9b39e394aadd1093391a9a676fdec981099 /include | |
parent | 788594688132bc8f503e1b1345006e321a19c09a (diff) | |
download | gdb-2889e75bfb63b5638dffb3bf9ae598e85af86af9.zip gdb-2889e75bfb63b5638dffb3bf9ae598e85af86af9.tar.gz gdb-2889e75bfb63b5638dffb3bf9ae598e85af86af9.tar.bz2 |
Take into account MEMORY regions when creating a segment map.
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 5 | ||||
-rw-r--r-- | include/bfdlink.h | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 6c25355..e5b7dba 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -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 diff --git a/include/bfdlink.h b/include/bfdlink.h index 6842243..46e3cf5 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 |