]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
One more fixup for elf_update. elfutils-0.120
authorUlrich Drepper <drepper@redhat.com>
Wed, 5 Apr 2006 03:13:34 +0000 (03:13 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 5 Apr 2006 03:13:34 +0000 (03:13 +0000)
config/elfutils.spec.in
libelf/elf32_updatefile.c

index 6bc008d87e6fde4c74372a73dde78a794c2af26c..8a232a0ab53ef700ab87d35e09ac533586a719c8 100644 (file)
@@ -154,6 +154,13 @@ rm -rf ${RPM_BUILD_ROOT}
 %{_libdir}/libelf.so
 
 %changelog
+* Tue Apr  4 2006 Ulrich Drepper <drepper@redhat.com> 0.120-1
+- Bug fixes.
+- dwarf.h updated for DWARF 3.0 final specification.
+- libdwfl: New function dwfl_version.
+- The license is now GPL for most files.  The libelf, libebl, libdw,and 
+libdwfl libraries have additional exceptions.  Add reference toOIN.
+
 * Thu Mar 30 2006 Roland McGrath <roland@redhat.com> 0.120-1
 - Bug fixes.
 - dwarf.h updated for DWARF 3.0 final specification.
index 59973503a3fc187081c5c0e75ae20ff43dde71ee..7561a685d3742f98ecdc98b12125a6393976ba9f 100644 (file)
@@ -231,7 +231,8 @@ __elfw2(LIBELFBITS,updatemmap) (Elf *elf, int change_bo, size_t shnum)
              assert ((char *) elf->map_address + elf->start_offset
                      < (char *) scn->shdr.ELFW(e,LIBELFBITS));
              assert ((char *) scn->shdr.ELFW(e,LIBELFBITS)
-                     < (char *) elf->map_address + elf->maximum_size);
+                     < ((char *) elf->map_address + elf->start_offset
+                        + elf->maximum_size));
 
              void *p = alloca (sizeof (ElfW2(LIBELFBITS,Shdr)));
              scn->shdr.ELFW(e,LIBELFBITS)