diff options
author | Victor Ostorga <vostorga@gentoo.org> | 2009-07-23 00:15:18 +0000 |
---|---|---|
committer | Victor Ostorga <vostorga@gentoo.org> | 2009-07-23 00:15:18 +0000 |
commit | 33c2abc04c78b12d40cf85e3b89b6f9d0c0d0619 (patch) | |
tree | 0c9ad112dd31bbf024f90d7342f056ceb70bc10c /dev-util/elfsh | |
parent | Version bump, thanks to Ben Bannier, closing bug #278108 (diff) | |
download | gentoo-2-33c2abc04c78b12d40cf85e3b89b6f9d0c0d0619.tar.gz gentoo-2-33c2abc04c78b12d40cf85e3b89b6f9d0c0d0619.tar.bz2 gentoo-2-33c2abc04c78b12d40cf85e3b89b6f9d0c0d0619.zip |
Including full glibc210 patch, the first was cut
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'dev-util/elfsh')
-rw-r--r-- | dev-util/elfsh/ChangeLog | 6 | ||||
-rw-r--r-- | dev-util/elfsh/files/elfsh-0.51_beta3-glibc210.patch | 54 |
2 files changed, 59 insertions, 1 deletions
diff --git a/dev-util/elfsh/ChangeLog b/dev-util/elfsh/ChangeLog index 6ff0be117ded..fb6834be4b48 100644 --- a/dev-util/elfsh/ChangeLog +++ b/dev-util/elfsh/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-util/elfsh # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/elfsh/ChangeLog,v 1.11 2009/07/22 23:26:52 vostorga Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/elfsh/ChangeLog,v 1.12 2009/07/23 00:15:18 vostorga Exp $ + + 23 Jul 2009; Víctor Ostorga <vostorga@gentoo.org> + files/elfsh-0.51_beta3-glibc210.patch: + Including full glibc210 patch, the first was cut 22 Jul 2009; Víctor Ostorga <vostorga@gentoo.org> elfsh-0.51_beta3.ebuild, +files/elfsh-0.51_beta3-glibc210.patch: diff --git a/dev-util/elfsh/files/elfsh-0.51_beta3-glibc210.patch b/dev-util/elfsh/files/elfsh-0.51_beta3-glibc210.patch index 8866db7ed31b..2e83c93d19af 100644 --- a/dev-util/elfsh/files/elfsh-0.51_beta3-glibc210.patch +++ b/dev-util/elfsh/files/elfsh-0.51_beta3-glibc210.patch @@ -1,3 +1,57 @@ +diff -NrU5 elfsh-0.51b3.original/modules/modgraph.c elfsh-0.51b3/modules/modgraph.c +--- elfsh-0.51b3.original/modules/modgraph.c 2009-07-22 23:17:51.000000000 -0600 ++++ elfsh-0.51b3/modules/modgraph.c 2009-07-22 23:33:28.000000000 -0600 +@@ -181,11 +181,11 @@ + } + } + else + { + name = elfsh_reverse_metasym(world.current, blk->vaddr, &off); +- dprintf(fd, "%s_%08x", name, off); ++ d_printf(fd, "%s_%08x", name, off); + + } + free(buffer); + world.state.vm_quiet = vm_quiet; + } +diff -NrU5 elfsh-0.51b3.original/vm/disasm.c elfsh-0.51b3/vm/disasm.c +--- elfsh-0.51b3.original/vm/disasm.c 2009-07-22 23:17:51.000000000 -0600 ++++ elfsh-0.51b3/vm/disasm.c 2009-07-22 23:33:53.000000000 -0600 +@@ -80,30 +80,30 @@ + + /* Are we in quiet mode ? */ + if (world.state.vm_quiet) + { + snprintf(buf, sizeof(buf), " %08X %s + %u", vaddr + index, name, nindex); +- dprintf(fd, "%-40s %-30s ", buf, s); ++ d_printf(fd, "%-40s %-30s ", buf, s); + } + else + { + snprintf(buf, sizeof(buf), " %08X [foff: %u] %s + %u", + vaddr + index, foffset + index, name, nindex); +- dprintf(fd, "%-60s %-50s ", buf, s); ++ d_printf(fd, "%-60s %-50s ", buf, s); + } + + /* Print bytes in hexa for this instruction */ + ret = asm_instr_len(&ptr); + if (!ret) + ret++; + + if (!world.state.vm_quiet) + for (idx_bytes = 0; idx_bytes < ret; idx_bytes++) +- dprintf(fd, "%c%c ", ++ d_printf(fd, "%c%c ", + base[(buff[index + idx_bytes] >> 4) & 0x0F], + base[buff[index + idx_bytes] & 0x0F]); +- dprintf(fd, "\n"); ++ d_printf(fd, "\n"); + return (ret); + } + #endif /* USE_LIBASM */ + + diff -NrU5 elfsh-0.51b3.original/vm/include/elfsh.h elfsh-0.51b3/vm/include/elfsh.h --- elfsh-0.51b3.original/vm/include/elfsh.h 2009-07-22 23:17:51.000000000 -0600 +++ elfsh-0.51b3/vm/include/elfsh.h 2009-07-22 23:22:30.000000000 -0600 |