public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-util/elfsh/files: elfsh-0.51_beta3-glibc210.patch
@ 2009-07-23  0:15 Victor Ostorga (vostorga)
  0 siblings, 0 replies; 2+ messages in thread
From: Victor Ostorga (vostorga) @ 2009-07-23  0:15 UTC (permalink / raw
  To: gentoo-commits

vostorga    09/07/23 00:15:18

  Modified:             elfsh-0.51_beta3-glibc210.patch
  Log:
  Including full glibc210 patch, the first was cut
  (Portage version: 2.1.6.13/cvs/Linux i686)

Revision  Changes    Path
1.2                  dev-util/elfsh/files/elfsh-0.51_beta3-glibc210.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/elfsh/files/elfsh-0.51_beta3-glibc210.patch?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/elfsh/files/elfsh-0.51_beta3-glibc210.patch?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/elfsh/files/elfsh-0.51_beta3-glibc210.patch?r1=1.1&r2=1.2

Index: elfsh-0.51_beta3-glibc210.patch
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-util/elfsh/files/elfsh-0.51_beta3-glibc210.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- elfsh-0.51_beta3-glibc210.patch	22 Jul 2009 23:26:52 -0000	1.1
+++ elfsh-0.51_beta3-glibc210.patch	23 Jul 2009 00:15:18 -0000	1.2
@@ -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






^ permalink raw reply	[flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in dev-util/elfsh/files: elfsh-0.51_beta3-glibc210.patch
@ 2009-07-22 23:26 Victor Ostorga (vostorga)
  0 siblings, 0 replies; 2+ messages in thread
From: Victor Ostorga (vostorga) @ 2009-07-22 23:26 UTC (permalink / raw
  To: gentoo-commits

vostorga    09/07/22 23:26:52

  Added:                elfsh-0.51_beta3-glibc210.patch
  Log:
  Fix compilation with glibc-2.10, wrt bug #276065
  (Portage version: 2.1.6.13/cvs/Linux i686)

Revision  Changes    Path
1.1                  dev-util/elfsh/files/elfsh-0.51_beta3-glibc210.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/elfsh/files/elfsh-0.51_beta3-glibc210.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/elfsh/files/elfsh-0.51_beta3-glibc210.patch?rev=1.1&content-type=text/plain

Index: elfsh-0.51_beta3-glibc210.patch
===================================================================
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
@@ -469,11 +469,11 @@
 int		vm_getsort(u_int index, u_int argc, char **argv);
 int		vm_getdisasm(u_int index, u_int argc, char **argv);
 int		vm_gethexa(u_int index, u_int argc, char **argv);
 int		vm_getvarparams(u_int index, u_int argc, char **argv);
 
-int		dprintf(int fd, char *format, ...);
+int		d_printf(int fd, char *format, ...);
 
 /* Libasm resolve handler */
 void		do_resolve(void *data, u_int vaddr, char *, u_int);
 u_int		display_instr(int, u_int, u_int, u_int, u_int,
 			      char *, u_int, char *);






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-07-23  0:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-23  0:15 [gentoo-commits] gentoo-x86 commit in dev-util/elfsh/files: elfsh-0.51_beta3-glibc210.patch Victor Ostorga (vostorga)
  -- strict thread matches above, loose matches on Subject: below --
2009-07-22 23:26 Victor Ostorga (vostorga)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox