Accepting request 20544 from Base:System
Copy from Base:System/ptools based on submit request 20544 from user janblunck OBS-URL: https://build.opensuse.org/request/show/20544 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ptools?expand=0&rev=2
This commit is contained in:
parent
66ae852278
commit
fc721895c1
25
output-l_addr.diff
Normal file
25
output-l_addr.diff
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
diff --git a/src/pbuildid.c b/src/pbuildid.c
|
||||||
|
index 3e480aa..445d6bf 100644
|
||||||
|
--- a/src/pbuildid.c
|
||||||
|
+++ b/src/pbuildid.c
|
||||||
|
@@ -234,7 +234,7 @@ static void so_print_buildid(struct core_map_info *core_map, const char *name,
|
||||||
|
note_phdr->p_filesz);
|
||||||
|
if (len) {
|
||||||
|
unsigned int i;
|
||||||
|
- printf("%s ", name);
|
||||||
|
+ printf("%s %#" PRIx64 " ", name, ehdr_addr);
|
||||||
|
for (i = 0; i < len; i++)
|
||||||
|
printf("%02" PRIx8, build_id[i]);
|
||||||
|
printf("\n");
|
||||||
|
@@ -915,8 +915,9 @@ static int process_core(Elf *elf, GElf_Ehdr *ehdr)
|
||||||
|
nphdr->p_filesz);
|
||||||
|
if (len) {
|
||||||
|
unsigned int i;
|
||||||
|
- printf("%s ",
|
||||||
|
- core_fname ? core_fname : "");
|
||||||
|
+ printf("%s %#" PRIx64 " ",
|
||||||
|
+ core_fname ? core_fname : "",
|
||||||
|
+ core_l_addr);
|
||||||
|
for (i = 0; i < len; i++)
|
||||||
|
printf("%02" PRIx8,
|
||||||
|
build_id[i]);
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 3 10:37:08 CET 2009 - jblunck@suse.de
|
||||||
|
|
||||||
|
- Print out the load address of shared objects as well.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Nov 10 22:36:48 CET 2008 - jblunck@suse.de
|
Mon Nov 10 22:36:48 CET 2008 - jblunck@suse.de
|
||||||
|
|
||||||
|
16
ptools.spec
16
ptools.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ptools (Version 0.1)
|
# spec file for package ptools (Version 0.1)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -21,10 +21,11 @@ Url: ftp://ftp.suse.com/pub/people/jblunck/ptools/
|
|||||||
Name: ptools
|
Name: ptools
|
||||||
Summary: The process tools collection
|
Summary: The process tools collection
|
||||||
Version: 0.1
|
Version: 0.1
|
||||||
Release: 2
|
Release: 3
|
||||||
License: GPL v2 or later
|
License: GPL v2 or later
|
||||||
Group: Development/Tools/Debuggers
|
Group: Development/Tools/Debuggers
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
|
Patch0: output-l_addr.diff
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: libelf-devel popt-devel
|
BuildRequires: libelf-devel popt-devel
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
@ -42,6 +43,7 @@ Authors:
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure
|
||||||
@ -60,13 +62,3 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_mandir}/man1/pbuildid.1*
|
%{_mandir}/man1/pbuildid.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Mon Nov 10 2008 jblunck@suse.de
|
|
||||||
- Relocate the AT_SYSINFO_EHDR to match the link_map->l_addr
|
|
||||||
- Check the version of the linker protocol used by the dynamic linker
|
|
||||||
- Parse section headers when processing executables
|
|
||||||
- Add pbuildid manual page
|
|
||||||
- Various cleanups
|
|
||||||
* Fri Nov 07 2008 jblunck@suse.de
|
|
||||||
- Add --kernel and --vdso command line.
|
|
||||||
* Thu Nov 06 2008 jblunck@suse.de
|
|
||||||
- The initial package of this tools. Only includes pbuildid for the moment.
|
|
||||||
|
Loading…
Reference in New Issue
Block a user