]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
* elf.c (assign_file_positions_for_load_sections): Correct sh_type
authorAlan Modra <amodra@gmail.com>
Wed, 30 May 2007 13:38:50 +0000 (13:38 +0000)
committerAlan Modra <amodra@gmail.com>
Wed, 30 May 2007 13:38:50 +0000 (13:38 +0000)
commit02bf8d82b539bf6c1cb8d4f7b12449930e94d431
treecd03d4d32e74638a49eb37ec29cf3c925bf87923
parent4e57dfd62a79b26d27246ec43d1d97d468cbfe4e
* elf.c (assign_file_positions_for_load_sections): Correct sh_type
to SHT_NOBITS earlier.  Base actions in rest of function on sh_type
and sh_flags instead of bfd section flags.  Delete voff and code
keeping nobits segments aligned.
bfd/ChangeLog
bfd/elf.c