diff options
author | Ian Lance Taylor <ian@airs.com> | 1996-07-31 19:58:05 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1996-07-31 19:58:05 +0000 |
commit | cdb88e876460e4ae448a747b311447da1fc717fd (patch) | |
tree | f3e05ec72af87328536f2a5527e1efeffb3fbc64 /mmalloc | |
parent | 212ac7897b950c188e1cf73d7d7750bc1d5fd455 (diff) | |
download | gdb-cdb88e876460e4ae448a747b311447da1fc717fd.zip gdb-cdb88e876460e4ae448a747b311447da1fc717fd.tar.gz gdb-cdb88e876460e4ae448a747b311447da1fc717fd.tar.bz2 |
Make ld -N more reasonable for ELF:
* elf.c (map_sections_to_segments): If D_PAGED is not set, set
phdr_in_section to false, and always use a single load segment.
(elf_sort_sections): Sort sections by LMA after VMA.
(assign_file_positions_for_segments): If D_PAGED is not set, don't
align to maxpagesize.
(assign_file_positions_except_relocs): Likewise.
* elfcode.h (elf_object_p): If a section is loaded but not page
aligned, clear D_PAGED.
Diffstat (limited to 'mmalloc')
0 files changed, 0 insertions, 0 deletions