1 --- a/bfd/elf.c 2009-07-14 14:30:19.000000000 +0200
2 +++ b/bfd/elf.c 2009-07-14 21:11:42.000000000 +0200
3 @@ -5362,12 +5449,16 @@
5 pointer_to_map = &map->next;
8 + /* FIXME: It is wrong when section flags are changed. See
10 if (matching_lma != map->p_paddr
11 && !map->includes_filehdr && !map->includes_phdrs)
12 /* There is some padding before the first section in the
13 segment. So, we must account for that in the output
15 map->p_vaddr_offset = matching_lma - map->p_paddr;