fc721895c1
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
26 lines
830 B
Diff
26 lines
830 B
Diff
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]);
|