forked from pool/ptools
Dirk Mueller
83052cee5a
64bit targets but not for 32 bit targets to make the package buildable with GCC 14 on i586. If the request is OK, please forward it to Factory too so that we can switch the default compiler soon. Thanks! OBS-URL: https://build.opensuse.org/package/show/Base:System/ptools?expand=0&rev=14
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]);
|