Make ld -N more reasonable for ELF:
authorIan Lance Taylor <ian@airs.com>
Wed, 31 Jul 1996 19:58:05 +0000 (19:58 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 31 Jul 1996 19:58:05 +0000 (19:58 +0000)
commitcdb88e876460e4ae448a747b311447da1fc717fd
treef3e05ec72af87328536f2a5527e1efeffb3fbc64
parent212ac7897b950c188e1cf73d7d7750bc1d5fd455
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.
bfd/ChangeLog
bfd/elf.c
This page took 0.028776 seconds and 4 git commands to generate.