OSDN Git Service

* elf.c (assign_file_positions_for_load_sections): Correct sh_type
authorAlan Modra <amodra@bigpond.net.au>
Wed, 30 May 2007 13:38:50 +0000 (13:38 +0000)
committerAlan Modra <amodra@bigpond.net.au>
Wed, 30 May 2007 13:38:50 +0000 (13:38 +0000)
commitbfb22d3471b61eb3e20e2dd09f7bb712a9dae3ee
tree7d06b83acfb02e9b888b8b4a5da80b1f4534f68c
parent81c8a7e2931af2cb670d9bc91084590dc864f99b
* 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