<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV>I included a one-line patch to kexec-tools-testing, at Bernhard Walle's request. This prints the relocation type as a string. I noticed that other architectures do not use reloc_name, but instead just print the r_type. I find the reloc_name useful.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>--- kexec-tools-testing-20071030/kexec/arch/x86_64/kexec-elf-rel-x86_64.c 2007-10-16 21:16:16.000000000 -0600</DIV><DIV>+++ kexec-tools-testing-20071030-modified/kexec/arch/x86_64/kexec-elf-rel-x86_64.c 2008-01-10 10:52:22.000000000 -0700</DIV><DIV>@@ -83,7 +83,7 @@</DIV><DIV> *(uint32_t *)location = value - address;</DIV><DIV> break;</DIV><DIV> default:</DIV><DIV>- die("Unhandled rela relocation: %lu\n", reloc_name(r_type));</DIV><DIV>+ die("Unhandled rela relocation: %s\n", reloc_name(r_type));</DIV><DIV> break;</DIV><DIV> }</DIV><DIV> return;</DIV><DIV><BR class="khtml-block-placeholder"></DIV><BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV>********************************************</DIV><DIV>Kevin Tegtmeier</DIV><DIV>HPC-3 Scientific Computing Resources</DIV><DIV>Los Alamos National Laboratory</DIV><DIV>email: kevint at lanl dot gov</DIV><DIV>********************************************</DIV><DIV><BR class="khtml-block-placeholder"></DIV><BR class="Apple-interchange-newline"></SPAN> </DIV><BR></BODY></HTML>