Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2008-11-14 17:44:09 +0300
committerNick Clifton <nickc@redhat.com>2008-11-14 17:44:09 +0300
commit5025372c283e42ace799636c71d460a2b432ab4e (patch)
treed1787640cf0e80ab0f2bc66f64283cfc371f8ddf /include/elf/internal.h
parentc34ce411144e8354bae63c83a0eddf959a82282a (diff)
bfd/
* elf.c (assign_file_positions_for_load_sections): Use header_size to avoid moving the load address of file headers. (assign_file_positions_for_load_sections): Set header_size for segments containing the file header. include/elf/ * internal.h (struct elf_segment_map): Add header_size field.
Diffstat (limited to 'include/elf/internal.h')
-rw-r--r--include/elf/internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/elf/internal.h b/include/elf/internal.h
index 513f6763c..9ea175c9d 100644
--- a/include/elf/internal.h
+++ b/include/elf/internal.h
@@ -266,6 +266,8 @@ struct elf_segment_map
bfd_vma p_align;
/* Segment size in file and memory */
bfd_vma p_size;
+ /* Required size of filehdr + phdrs, if non-zero */
+ bfd_vma header_size;
/* Whether the p_flags field is valid; if not, the flags are based
on the section flags. */
unsigned int p_flags_valid : 1;