Index: bfd/elf.c =================================================================== RCS file: /cvs/src/src/bfd/elf.c,v retrieving revision 1.426 diff -c -3 -p -r1.426 elf.c *** bfd/elf.c 11 Dec 2007 13:13:59 -0000 1.426 --- bfd/elf.c 24 Dec 2007 17:18:50 -0000 *************** assign_file_positions_for_load_sections *** 4339,4357 **** && ((this_hdr->sh_flags & SHF_TLS) == 0 || p->p_type == PT_TLS))) { ! if (adjust < 0) { ! (*_bfd_error_handler) ! (_("%B: section %A lma 0x%lx overlaps previous sections"), ! abfd, sec, (unsigned long) sec->lma); ! adjust = 0; ! } ! p->p_memsz += adjust; ! if (this_hdr->sh_type != SHT_NOBITS) ! { ! off += adjust; ! p->p_filesz += adjust; } } } --- 4339,4353 ---- && ((this_hdr->sh_flags & SHF_TLS) == 0 || p->p_type == PT_TLS))) { ! if (adjust > 0) { ! p->p_memsz += adjust; ! if (this_hdr->sh_type != SHT_NOBITS) ! { ! off += adjust; ! p->p_filesz += adjust; ! } } } }